Aanpassen template zodat deze modulair is

This commit is contained in:
Michael Boelen 2023-05-07 10:47:24 +02:00
parent d22e405452
commit ef3be36585
5 changed files with 66 additions and 72 deletions

View file

@ -0,0 +1,14 @@
{{ define "main" }}
{{ .Content }}
<section>
<p>Relevante pagina's:</p>
<ul class="list">
{{ range .Pages }}
<li>
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}
</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}