Taxonomy in Partials ausgelagert

This commit is contained in:
mdn 2022-11-28 21:42:49 +01:00
parent 533d7f2e46
commit be11de4217
6 changed files with 26 additions and 46 deletions

View file

@ -1,11 +1 @@
{{ define "main" }}
<h1 class="mb-5">{{ .Title }}</h1>
{{ range .Pages.ByTitle }}
<article class="border-bottom">
<h3 class="mb-3">
<a href="{{ .RelPermalink | relURL }}">{{ .Title }}</a>
</h3>
<p>{{ .Description }}</p>
</article>
{{ end }}
{{ end }}
{{- partial "taxonomy/description.html" . -}}