diff options
Diffstat (limited to '_includes/header.html')
-rw-r--r-- | _includes/header.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/_includes/header.html b/_includes/header.html index 8363b10..b5d26a8 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -14,7 +14,25 @@ </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> - <li class="active"><a href="/">Home</a></li> + <li><a href="/">News</a></li> + {% comment %} + Exclude the news feed and the paginated news pages. + {% endcomment %} + {% for node in site.pages %} + {% if node.title != "News" and node.title != "News Feed" %} + {% if page.url == node.url %} + <li class="active"> + <a href="{{ node.url }}" class="active">{{ node.title }}</a> + </li> + {% else %} + <li> + <a href="{{ node.url }}">{{ node.title }}</a> + </li> + {% endif %} + {% endif %} + {% endfor %} + <li><a href="http://irssi.org/scripts">Scripts</a></li> + <li><a href="http://irssi.org/bugs">Bugs</a></li> </ul> </div> </div> |