comparison _includes/navigation.html @ 81:eb3bbc61bc17

Use flexbox for lots more things this should make stuff actually work on safari. HOPEFULLY.
author Paper <paper@paper.us.eu.org>
date Mon, 20 May 2024 04:00:58 -0400
parents ec24b7d30ce9
children a143c3991472
comparison
equal deleted inserted replaced
80:ec24b7d30ce9 81:eb3bbc61bc17
1 <div class="navbar drop-shadow-box"> 1 <div class="navbar drop-shadow-box">
2 {% for item in site.data.navigation %} 2 {% for item in site.data.navigation %}
3 <!-- page.url contains isn't exactly right, but whatever -->
4 <a href="{{ item.link }}" {% if page.url == item.link or page.url contains item.prefix %}class="navbar-item-active"{% else %}class="navbar-item"{% endif %}>{{ item.name }}</a> 3 <a href="{{ item.link }}" {% if page.url == item.link or page.url contains item.prefix %}class="navbar-item-active"{% else %}class="navbar-item"{% endif %}>{{ item.name }}</a>
5 {% endfor %} 4 {% endfor %}
6 <!-- external links belong here --> 5 <div class="navbar-right">
7 <div class="align-right"> 6 {% comment %}
8 <a href="https://www.youtube.com/channel/UC8yLNvg6ktP7X_dupByIc-w" class="navbar-item">vids</a> 7 This has to all be on one line or else browsers add extra spacing. argh.
9 <a href="https://modarchive.org/index.php?request=view_artist_modules&query=92603" class="navbar-item">tunes</a> 8 {% endcomment %}
10 <a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a> 9 {% for item in site.data.navigation-external %}<a href="{{ item.link }}" class="navbar-item">{{ item.name }}</a>{% endfor %}
11 </div> 10 </div>
12 </div> 11 </div>