diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-26 19:07:45 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-26 19:20:04 +0300 |
| commit | d548d4a900024352a033e2b4523bb7f272b26a6f (patch) | |
| tree | 1d7bd088eeefef367cb5cac026d08a31c01716f7 /_includes/navigation.html | |
| parent | 7ac5dbeb4f9329dbd75e42c800b8afc8b58d552d (diff) | |
| parent | af529b0371bfe9fa2039fb6bce5deadbb7c0c76b (diff) | |
| download | aaoth.xyz-d548d4a900024352a033e2b4523bb7f272b26a6f.tar.gz aaoth.xyz-d548d4a900024352a033e2b4523bb7f272b26a6f.zip | |
merge branch 'music-projects'
music info is messed up now, but kinda works
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> |
