7
0
Fork 0

Lijst modulair gemaakt en opgeschoond

This commit is contained in:
Michael Boelen 2023-05-07 14:03:31 +02:00
parent 170bbdc594
commit c387dd1df3

View file

@ -1,24 +1,13 @@
<!doctype html>
<html lang="en">
{{ partial "head.html" . }}
<body>
<a class="skip-link" href="#main">Skip to main</a>
<main id="main">
<div class="content">
{{ partial "header.html" . }}
<section>
<ul reversed class="list">
{{ range .Pages }}
<li>
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}
</a>
<hr class="hr-list">
<time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "02/01/06" .Date }}</time>
</li>
{{ end }}
</ul>
</section>
</div>
</main>
</body>
</html>
{{ define "main" }}
<section>
<ul reversed class="list">
{{ range .Pages }}
<li>
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
<hr class="hr-list">
<time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "2006-01-02" .Date }}</time>
</li>
{{ end }}
</ul>
</section>
{{ end }}