blob: 8ab772ee7611cfbe49b653949cc66927565b2d0f (
about) (
plain) (
blame)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
<!DOCTYPE html>
<html lang="{{ page.lang }}">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/styles.css" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.articles.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.articles.feed.title[page.lang] }}" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.pastebins.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.pastebins.feed.title[page.lang] }}" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.tils.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.tils.feed.title[page.lang] }}" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.slides.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.slides.feed.title[page.lang] }}" />
{% if site.podcast %}
<link rel="alternate" type="application/atom+xml" href="{{ site.t.podcasts.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.podcasts.feed.title[page.lang] }}" />
{% endif %}
<title>{{ page.title }} - EuAndreh</title>
<meta property="og:site_name" content="{{ site.title }}" />
<meta name="author" content="{{ site.author.name }}" />
<meta property="og:locale" content="{{ page.lang }}" />
<meta property="og:title" content="{{ page.title | xml_escape }}" />
{% capture raw_description %}
{% if page.description %}
{{ page.description }}
{% else %}
{{ site.t.description[page.lang] }}
{% endif %}
{% endcapture %}
{% assign description = raw_description | strip_html | strip %}
<meta name="description" content="{{ description }}" />
<meta property="og:description" content="{{ description }}" />
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />
{% if page.date %}
<meta property="og:type" content="article" />
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
{% endif %}
</head>
<body>
<header>
<nav>
<div class="nav-row">
<a href="{% link {{ site.t.articles.url[page.lang] }} %}"><web>EuAndreh</web></a>
<a href="{% link {{ site.t.tils.url[page.lang] }} %}">{{ site.t.tils.name[page.lang] }}</a>
<a href="{% link {{ site.t.slides.url[page.lang] }} %}">{{ site.t.slides.name[page.lang] }}</a>
<a href="{% link {{ site.t.pastebins.url[page.lang] }} %}">{{ site.t.pastebins.name[page.lang] }}</a>
{% if site.podcast %}
<a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a>
{% endif %}
<a href="{% link {{ site.t.about.url[page.lang] }} %}">{{ site.t.about.name[page.lang] }}</a>
</div>
{% if page.ref != nil %}
<ul>
{% if page.ref == "root" %}
{% assign lpages=site.pages | where:"ref", "index" | sort: 'lang' %}
{% else %}
{% assign lpages=site.pages | where:"ref", page.ref | sort: 'lang' %}
{% endif %}
{% for lpage in lpages %}
<li>
<a href="{{ lpage.url }}" class="{{ lpage.lang }}">{{ lpage.lang }}</a>
</li>
{% endfor %}
{% assign larticles=site.articles | where:"ref", page.ref | sort: 'lang' %}
{% for larticle in larticles %}
<li>
<a href="{{ larticle.url }}" class="{{ larticle.lang }}">{{ larticle.lang }}</a>
</li>
{% endfor %}
{% assign ltils=site.tils | where:"ref", page.ref | sort: 'lang' %}
{% for ltil in ltils %}
<li>
<a href="{{ ltil.url }}" class="{{ ltil.lang }}">{{ ltil.lang }}</a>
</li>
{% endfor %}
{% assign lpastebins=site.pastebins | where:"ref", page.ref | sort: 'lang' %}
{% for lpastebin in lpastebins %}
<li>
<a href="{{ lpastebin.url }}" class="{{ lpastebin.lang }}">{{ lpastebin.lang }}</a>
</li>
{% endfor %}
{% assign lpodcasts=site.podcasts | where:"ref", page.ref | sort: 'lang' %}
{% for lpodcast in lpodcasts %}
<li>
<a href="{{ lpodcast.url }}" class="{{ lpodcast.lang }}">{{ lpodcast.lang }}</a>
</li>
{% endfor %}
</ul>
{% else %}
{% link break-build-if-any-page-has-a-missing-ref %}
{% endif %}
</nav>
</header>
<main>
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
{{ content }}
</main>
<footer>
<ul>
<li>
<img class="simple-icon" src="/static/envelope.svg" alt="{{ site.t.alt.envelope_icon[page.lang] }}" />
<a href="mailto:{{ site.author.email }}">{{ site.author.email }}</a>
</li>
<li>
<img class="simple-icon" src="/static/lock.svg" alt="{{ site.t.alt.lock_icon[page.lang] }}" />
<a href="/public-key.txt">81F90EC3CD356060</a>
</li>
</ul>
<p>
{{ site.t.footer[page.lang] }}
</p>
</footer>
</body>
</html>
|