Mercurial > web
comparison _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 |
comparison
equal
deleted
inserted
replaced
| 77:d9242232f51d | 78:5fdf5f346b92 |
|---|---|
| 1 <div class="navbar drop-shadow-box"> | |
| 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> | |
| 5 {% endfor %} | |
| 6 <!-- external links belong here --> | |
| 7 <span class="align-right"> | |
| 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> | |
| 10 <a href="https://anilist.co/user/Paper" class="navbar-item">weeb</a> | |
| 11 </span> | |
| 12 </div> |
