Enable macros for nav item listing

This commit is contained in:
2024-01-09 23:20:06 +01:00
parent 7cfcf011ce
commit 5e5706b55d
3 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,4 @@
{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="cs">
<head>
@ -12,9 +13,7 @@
<div class="wrap">
<a href="{{ config.base_url }}"><img src="img/logo.svg" class="logo"></a>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
{{ macros::nav_items() }}
</ul>
</div>
</nav>