aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
blob: c1c3a020646cdc0c49bec3504458da08b9ff075b (plain)
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
<!DOCTYPE html>
{% set permalink = "/weblog/" %}
{% if section %}
	{% set permalink = section.permalink %}
{% elif page %}
	{% set permalink = page.permalink %}
{% endif %}
<html lang="{{ lang }}">
	<head>
		<meta charset="utf-8">
		<meta content="width=device-width, initial-scale=1" name="viewport">
		<title>{% block title %}Yaroslav de la Peña Smirnov{% endblock %}</title>
		<link rel="stylesheet" href="{{ get_url(path="css/yaroslavps.css") }}">
		<link rel="icon" type="image/png" href="{{ get_url(path="favicon32x32.png") }}">
		<link rel="icon" type="image/png" href="{{ get_url(path="favicon64x64.png") }}">
		{% block extrahead %}
		{% endblock %}
	</head>
	<body>
		<div class="main-container">
			{% block page %}
			<div class="content-container">
				<div class="holiday-garland"></div>
				<div class="header-container">
					{% block header %}
					<h1><a href="/">Yaroslav de la Peña Smirnov</a></h1>
					{% endblock %}
				</div>
				{% block content %}
				{% endblock %}
			</div>
			{% endblock %}
			<div class="foot-container">
				<ul class="nav-container" id="foot-nav">
					<li>
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/">
							{{ trans(key="homepage", lang=lang) }}
						</a>
					</li>
					<li>
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/weblog/">
							{{ trans(key="weblog", lang=lang) }}
						</a>
						(<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/weblog/archive">{{ trans(key="archive", lang=lang) }}</a>)
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/weblog/feed.xml"><span class="icon"><img alt="rss-icon" src="/svg/icons/rss.svg"/></span></a>
					</li>
					<li>
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/food/">
							{{ trans(key="recipes", lang=lang) }}
						</a>
						(<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/food/archive">{{ trans(key="archive", lang=lang) }}</a>)
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/food/feed.xml"><span class="icon"><img alt="rss-icon" src="/svg/icons/rss.svg"/></span></a>
					</li>
					<li>
						<a href="/photos/">
							{{ trans(key="photos", lang=lang) }}
						</a>
					</li>
				</ul>
				<ul class="nav-container">
					<li>
						<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/donate" title="{{ trans(key="leave_tip", lang=lang) }}"><span class="icon"><img alt="btc-icon" src="/svg/icons/btc.svg"/></span> {{ trans(key="leave_tip", lang=lang) }}</a>
					</li>
					<li>
						<a href="https://git.yaroslavps.com/" title="Git server"><span class="icon"><img alt="git-icon" src="/svg/icons/git.svg"/></span> Git server</a>
					</li>
					<li>
						<a href="https://github.com/Yaroslav-95" title="GitHub"><span class="icon"><img alt="github-icon" src="/svg/icons/github.svg"/></span> Github</a>
					</li>
					<li>
						<a href="https://sr.ht/~yaroslav/" title="sourcehut"><span class="icon"><img alt="srht-icon" src="/svg/icons/srht.svg"/></span> sourcehut</a>
					</li>
					<li>
						<a href="/files/resume{% if lang != "en" %}_{{ lang }}{% endif %}.pdf">
							{{ trans(key="resume", lang=lang) }}
						</a>
					</li>
				</ul>
				<!-- <p> -->
				<!-- The text content in this site is -->
				<!-- <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>, -->
				<!-- the photos are under -->
				<!-- <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>. -->
				<!-- </p> -->
				<p class="print-only">
					{{ current_url }}
				</p>
				<p>
				© 2018—2024 Yaroslav de la Peña Smirnov.
				</p>
				<!-- <br> -->
				<!-- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"></a> -->
				<!-- <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"></a> -->
			</div>
		</div>
	</body>
</html>