aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-08-20 21:32:33 +1200
committerArslaan Pathan <[email protected]>2026-08-20 21:32:33 +1200
commitc75ac93b77d4b96b7cf7d768c0e911e33290ca8a (patch)
treeb2b391c16c1aae391d6bfc345da7c9b4a05a2596 /templates/base.html
parente4df0a2f2f8b05e355a54c75547210dfcccb4e7d (diff)
downloadarslaancodes-c75ac93b77d4b96b7cf7d768c0e911e33290ca8a.tar.xz
arslaancodes-c75ac93b77d4b96b7cf7d768c0e911e33290ca8a.zip
[fix] migrate to Zola 0.23 and Tera 2, fix up links in blog posts, edit browser-in-c a tiny bit
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 086f5fc..fb40a81 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -8,7 +8,19 @@
</head>
<body>
- {% include "header.html" %}
+<!-- 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 %}