~williamvds/website

website/templates/cv.html -rw-r--r-- 1.0 KiB
54454d97williamvds Update CV and PDF 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends "page.html" %}
{% import "macros.html" as macros %}

{% block header %}
	{{ macros::nav(path="/" ~ page.path) }}
	<h1 id=name>{{config.title}}</h1>
	<h2 id=headline>{{config.extra.headline}}</h2>
	<div id=contact>
		{% for k, v in config.extra.contacts %}
			{% if v.printOnly and not config.extra.print %}
				{% continue %}
			{% endif %}
			{{ macros::iconlink(
				icon = k,
				text = v.value,
				url  = v.url ~ v.value
			) }}
		{% endfor %}
	</div>
	<div id=accounts>
		{% for k, a in config.extra.accounts %}
			{% if a.filter is defined and a.filter is not containing("cv") %}
				{% continue %}
			{% endif %}
			{{ macros::iconlink(
				icon  = a.icon,
				text  = a.name,
				url   = a.url ~ config.extra.username
			) }}
		{% endfor %}
	</div>
	<div id=links>
		{{ macros::iconlink(
			icon  = "download",
			text  = "Download as PDF",
			url   = "/cv.pdf",
			class = "no-print smaller"
		) }}
	</div>
{% endblock header %}

{% block content %}
	<main>
		{{page.content | safe}}
	</main>
{% endblock content %}