summaryrefslogtreecommitdiff
path: root/templates/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/header.html b/templates/header.html
index b81c946..ef38e96 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -1,12 +1,12 @@
<header>
<div class="header-inner">
<div class="site-title">
- <a href="/">arslaan@thinkpad-e16-void:~</a>
+ <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">~</span></a>
</div>
<nav>
- <a href="/">home</a>
- <a href="/projects">projects</a>
- <a href="/blog">blog</a>
+ <a href="/" class="{% if current_path == '/' %}active{% else %}purple{% endif %}">home</a>
+ <a href="/projects" class="{% if current_path is starting_with('/projects') %}active{% else %}purple{% endif %}">projects</a>
+ <a href="/blog" class="{% if current_path is starting_with('/blog') %}active{% else %}purple{% endif %}">blog</a>
</nav>
</div>
</header>