aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
blob: fb40a81784a254a33e469ddcf241dfa9777776b9 (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
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Arslaan Pathan</title>
	<link rel="stylesheet" href="/style.css">
	<link href="https://cdn.jsdelivr.net/npm/@typopro/[email protected]/TypoPRO-FantasqueSansMono.min.css" rel="stylesheet">
</head>

<body>
<!-- hardcoded because screw undocumented changes --!>
<header>
	<div class="header-inner">
		<div class="site-title">
			<a href="/"><span class="pink">arslaan</span><span class="white">@</span><span class="yellow">thinkpad-e16-void</span><span class="white">:</span><span class="green bold">~{% if section and section.extra.header_title %}/{{ section.extra.header_title }}{% elif page and page.extra.header_title %}/{{ page.extra.header_title }}{% endif %}</span>
		</div>
		<nav>
			<a href="/" class="{% if current_path == '/' %}active{% else %}purple{% endif %}">home</a>
			<a href="/projects" class="{% if current_path is starting_with(pat='/projects') %}active{% else %}purple{% endif %}">projects</a>
			<a href="/blog" class="{% if current_path is starting_with(pat='/blog') %}active{% else %}purple{% endif %}">blog</a>
		</nav>
	</div>
</header>
	<section class="section">
		<div class="container">
			{% block content %} {% endblock content %}
		</div>
	</section>
</body>

</html>