diff options
author | Ailin Nemui <ailin@z30a.localdomain> | 2017-06-07 17:57:20 +0200 |
---|---|---|
committer | Ailin Nemui <ailin@z30a.localdomain> | 2017-06-07 17:57:20 +0200 |
commit | 495f70f38549d9c2ab2205777827172fab6845c1 (patch) | |
tree | d1846259d90830c95970eefc809edfcc50c66334 /_includes | |
parent | aa32d5c55bacf69ec05c8ca617079cd2844c120f (diff) | |
download | irssi.github.io-495f70f38549d9c2ab2205777827172fab6845c1.zip |
make room in nav
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 %} |