aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/navigation.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/navigation.html')
-rw-r--r--_includes/navigation.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/_includes/navigation.html b/_includes/navigation.html
index 0069ec8..ff9e372 100644
--- a/_includes/navigation.html
+++ b/_includes/navigation.html
@@ -1,8 +1,16 @@
<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 %}
+ {%- 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"
+ width="376px" height="auto">
</nav>