✨feature: Set up templated views and blog support
This commit is contained in:
11
templates/header.html
Normal file
11
templates/header.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ define "header" }}
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
{{ range .Nav }}
|
||||
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user