diff options
| author | Arslaan Pathan <[email protected]> | 2026-08-20 22:14:41 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-08-20 22:14:41 +1200 |
| commit | 5ceaef62b0dc9a3de50d0b18700945192709c51b (patch) | |
| tree | 653821cc8fa32cff194a6619a093b74ec019190b /templates/base.html | |
| parent | cebbf0d0c0356712df61265520b1841c130e79a6 (diff) | |
| download | arslaancodes-5ceaef62b0dc9a3de50d0b18700945192709c51b.tar.xz arslaancodes-5ceaef62b0dc9a3de50d0b18700945192709c51b.zip | |
[fix] make it a bit more mobile responsive and add a 404 page
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index 8487e14..c8706b5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,11 +15,11 @@ <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> - <a href="/licenses" class="{% if current_path is starting_with(pat='/licenses') %}active{% else %}purple{% endif %}">licenses</a> - <a href="/pgp" class="{% if current_path is starting_with(pat='/pgp') %}active{% else %}purple{% endif %}">pgp</a> + <a href="/" class="{% if current_path and current_path == '/' %}active{% else %}purple{% endif %}">home</a> + <a href="/projects" class="{% if current_path and current_path is starting_with(pat='/projects') %}active{% else %}purple{% endif %}">projects</a> + <a href="/blog" class="{% if current_path and current_path is starting_with(pat='/blog') %}active{% else %}purple{% endif %}">blog</a> + <a href="/licenses" class="{% if current_path and current_path is starting_with(pat='/licenses') %}active{% else %}purple{% endif %}">licenses</a> + <a href="/pgp" class="{% if current_path and current_path is starting_with(pat='/pgp') %}active{% else %}purple{% endif %}">pgp</a> </nav> </div> </header> |
