Adds nav with /home h-card
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
21
templates/partials/nav.html
Normal file
21
templates/partials/nav.html
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<header>
|
||||||
|
<div class="main">
|
||||||
|
<a href={{ config.base_url }}>{{ config.title }}</a>
|
||||||
|
|
||||||
|
<div class="socials">
|
||||||
|
{% for social in config.extra.socials %}
|
||||||
|
<a href="{{ social.url }}" class="social">
|
||||||
|
<img alt={{ social.name }} src="/social_icons/{{ social.icon }}.svg">
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<nav>
|
||||||
|
<a href="https://jamesbrechtel.com/" class="h-card" style="margin-left: 0.7em">/home</a>
|
||||||
|
{% for menu in config.extra.menu %}
|
||||||
|
<a href={{ menu.url }} style="margin-left: 0.7em">{{ menu.name }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
Reference in New Issue
Block a user