comparison _includes/navigation.html @ 80:ec24b7d30ce9

navigation: span -> div I think this'll make it work on Safari
author Paper <paper@paper.us.eu.org>
date Mon, 20 May 2024 03:46:03 -0400
parents 5fdf5f346b92
children eb3bbc61bc17
comparison
equal deleted inserted replaced
79:815c0da68384 80:ec24b7d30ce9
2 {% for item in site.data.navigation %} 2 {% for item in site.data.navigation %}
3 <!-- page.url contains isn't exactly right, but whatever --> 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> 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>
5 {% endfor %} 5 {% endfor %}
6 <!-- external links belong here --> 6 <!-- external links belong here -->
7 <span class="align-right"> 7 <div class="align-right">
8 <a href="https://www.youtube.com/channel/UC8yLNvg6ktP7X_dupByIc-w" class="navbar-item">vids</a> 8 <a href="https://www.youtube.com/channel/UC8yLNvg6ktP7X_dupByIc-w" class="navbar-item">vids</a>
9 <a href="https://modarchive.org/index.php?request=view_artist_modules&query=92603" class="navbar-item">tunes</a> 9 <a href="https://modarchive.org/index.php?request=view_artist_modules&query=92603" class="navbar-item">tunes</a>
10 <a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a> 10 <a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a>
11 </span> 11 </div>
12 </div> 12 </div>