summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorNicolas Kuttler <git@kuttler.eu>2015-02-12 13:45:55 +0100
committerNicolas Kuttler <git@kuttler.eu>2015-02-12 13:45:55 +0100
commit51d13b4f57ee56c219df1b7cf91856bd64cf4f6b (patch)
treec3f7ee4fc97b8d7d7dcf89370a2de6d8adf5c193 /_includes
parent24379797b35e29566a54585ee6652e4dcca567c2 (diff)
downloadirssi.github.io-51d13b4f57ee56c219df1b7cf91856bd64cf4f6b.zip
Highlight the front page in the page navigation
Diffstat (limited to '_includes')
-rw-r--r--_includes/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/header.html b/_includes/header.html
index 479a2ea..3f50832 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -14,7 +14,7 @@
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
- <li><a href="/">News</a></li>
+ <li{% if page.url == "/index.html" %} class="active"{% endif %}><a href="/">News</a></li>
{% comment %}
Exclude the news feed and the paginated news pages.
{% endcomment %}