diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/header.html b/_includes/header.html index 68c6e25..e826db4 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -7,14 +7,14 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="{{ site.baseurl }}/"> + <a class="{% if page.url == "/index.html" or page.url == "/" %}active {% endif %} navbar-brand" href="{{ site.baseurl }}/"> <img alt="Irssi Logo" class="navbar-irssi-logo" src="{{ site.baseurl }}/assets/logo.png"> {% comment %}{{ site.title }}{% endcomment %} </a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> - <li{% if page.url == "/news/index.html" %} class="active"{% endif %}><a href="{{ site.baseurl }}/news">News</a></li>{% + <li{% if page.url == "/news/index.html" or page.url == "/news/" %} class="active"{% endif %}><a href="{{ site.baseurl }}/news">News</a></li>{% comment %} Exclude the news feed and the paginated news pages. {% endcomment %}{% capture pageidx %}{% include weighted_sorted_pages.html %}{% endcapture %}{% assign pageidx = pageidx | strip_newlines | split:',' %}{% comment %} |