mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-18 17:14:15 +00:00
improve navigation
This commit is contained in:
@ -3,8 +3,13 @@
|
||||
{% if menu %}
|
||||
<nav class="site-navigation">
|
||||
<ul>
|
||||
{% for item in site.data.menu %}
|
||||
<li>
|
||||
<a href="{{ '/' | prepend: site.baseurl }}">
|
||||
Home
|
||||
</a>
|
||||
</li>
|
||||
{% for item in site.data.menu %}
|
||||
<li {% if page.url == item.url %}class="active"{% endif %}>
|
||||
{% if item.url contains 'http' %}
|
||||
<a href="{{ item.url }}">
|
||||
{{ item.title }}
|
||||
|
Reference in New Issue
Block a user