diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-20 22:39:54 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-20 22:39:54 +0300 |
| commit | a7a43fa5e99ebda7905604306ec2cf0b03c425f7 (patch) | |
| tree | b64934abbfe55d8a177fbda0987329d0b395d6f5 /_includes/navigation.html | |
| parent | 5dade15bc9063352cd711bec0b7220924d2fd13d (diff) | |
| download | aaoth.xyz-a7a43fa5e99ebda7905604306ec2cf0b03c425f7.tar.gz aaoth.xyz-a7a43fa5e99ebda7905604306ec2cf0b03c425f7.zip | |
make music project list page look like art menu
also snippet that makes art menu is now separated as mixin (very
powerful thing, btw).
Diffstat (limited to '_includes/navigation.html')
| -rw-r--r-- | _includes/navigation.html | 16 |
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> |
