diff options
Diffstat (limited to '_includes/navigation.html')
| -rw-r--r-- | _includes/navigation.html | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/_includes/navigation.html b/_includes/navigation.html index 0069ec8..3615a1a 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,8 +1,17 @@ <nav> - <ul> - {% for item in site.data.navigation %} - <li><a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a></li> - {% endfor %} - </ul> - <img src="/assets/img/aaoth-logo.png" alt="aaoth" width="376px" height="auto"> + <img src="/assets/img/aaoth-logo.png" alt="aaoth website logo" + width="376px" height="auto"> + <ul> + {%- for item in site.data.navigation -%} + <li> + <a href="{{ item.link }}" + {%- if page.url == item.link -%} + class="current" + {%- endif -%}> + {{ item.name }} + </a> + </li> + {%- endfor -%} + </ul> + <hr> </nav> |
