Add more modular content for site

This commit is contained in:
2024-06-10 15:31:56 +01:00
parent b7c92f717e
commit a1abb8af68
20 changed files with 876 additions and 27 deletions

14
_includes/navbar.html Normal file
View File

@@ -0,0 +1,14 @@
<nav class="navbar">
<ul class="navbar-list">
{% for subpage in site.subpages %}
<li class="navbar-item">
<!-- <button class="navbar-link{% if page.permalink == subpage.url %} active{% endif %}" data-nav-link>{{ subpage.title }}</button> -->
<a class="navbar-link{% if page.permalink == subpage.url %} active{% endif %}" href="{{ subpage.url }}">{{ subpage.title }}</a>
</li>
{% endfor %}
</ul>
</nav>