More cleanup, add a new tag.

This commit is contained in:
2023-08-31 02:48:37 +00:00
parent fc10789c9c
commit a8321a07fd
7 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,18 @@
{{ define "main" }}
<main class="main list" role="main">
{{- with .Title }}
<header class="main__header">
<h1 class="main__title">Tag: {{ . }}</h1>
</header>
{{- end }}
{{- with .Content }}
<div class="content main__content clearfix">
{{ . }}
</div>
{{- end }}
{{- range .Paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
</main>
{{ partial "pagination.html" . }}
{{ end }}