Taxonomy in Partials ausgelagert
This commit is contained in:
parent
533d7f2e46
commit
be11de4217
6 changed files with 26 additions and 46 deletions
|
@ -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>{{ .Summary }}</p>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- partial "taxonomy/summary.html" . -}}
|
Loading…
Add table
Add a link
Reference in a new issue