annotate _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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
1 <div class="navbar drop-shadow-box">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
2 {% for item in site.data.navigation %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
3 <!-- page.url contains isn't exactly right, but whatever -->
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
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>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
5 {% endfor %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
6 <!-- external links belong here -->
80
ec24b7d30ce9 navigation: span -> div
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
7 <div class="align-right">
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
8 <a href="https://www.youtube.com/channel/UC8yLNvg6ktP7X_dupByIc-w" class="navbar-item">vids</a>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
9 <a href="https://modarchive.org/index.php?request=view_artist_modules&query=92603" class="navbar-item">tunes</a>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
10 <a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a>
80
ec24b7d30ce9 navigation: span -> div
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
11 </div>
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
12 </div>