Blog: Fix categories, blog single page template

This commit is contained in:
jtbx 2023-10-05 23:02:20 +02:00
commit ad72231459
17 changed files with 157 additions and 43 deletions

View file

@ -0,0 +1,16 @@
{{ define "main" }}
<main class="container" aria-role="main">
<header class="header">
<h1>{{ .Title }}</h1>
</header>
<ul>
{{ range .Pages }}
<!-- TODO: Content summary -->
<li>
<a href="{{ .Permalink }}"><span style="font-variant-numeric: tabular-nums;">{{ .Date.Format "2006-01-02" }}</span> | {{ .Title }}</a>
</li>
{{ end }}
</ul>
</main>
{{ end }}