diff _includes/navigation.html @ 78:5fdf5f346b92

*: use jekyll for templates, blogging, etc. I changed the pages to now use templates, so adding new stuff should be much much easier in the future
author Paper <paper@paper.us.eu.org>
date Mon, 20 May 2024 02:49:07 -0400
parents
children ec24b7d30ce9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/_includes/navigation.html	Mon May 20 02:49:07 2024 -0400
@@ -0,0 +1,12 @@
+<div class="navbar drop-shadow-box">
+	{% for item in site.data.navigation %}
+		<!-- page.url contains isn't exactly right, but whatever -->
+		<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>
+	{% endfor %}
+	<!-- external links belong here -->
+	<span class="align-right">
+		<a href="https://www.youtube.com/channel/UC8yLNvg6ktP7X_dupByIc-w" class="navbar-item">vids</a>
+		<a href="https://modarchive.org/index.php?request=view_artist_modules&query=92603" class="navbar-item">tunes</a>
+		<a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a>
+	</span>
+</div>