Eigene Listen fürs Taxonomy und gefixte Links bei Cloud und Taglist

This commit is contained in:
mdn 2022-11-28 19:58:59 +01:00
parent c461856547
commit a79492da55
4 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{{ 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 }}

View file

@ -0,0 +1,11 @@
{{ 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 }}

View file

@ -0,0 +1,11 @@
{{ 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 }}

13
layouts/taxonomy/tag.html Normal file
View file

@ -0,0 +1,13 @@
{{/* TODO als Partial auslagern*/}}
{{ 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 }}