diff --git a/themes/thomasba/layouts/_default/list.html b/themes/thomasba/layouts/_default/list.html index 85a8c19..9d360f2 100644 --- a/themes/thomasba/layouts/_default/list.html +++ b/themes/thomasba/layouts/_default/list.html @@ -44,13 +44,45 @@ {{ range $paginator.Pages }} + {{ if .Parent }} + {{ if and .Parent.Title (eq .Parent.Title "Rezepte") }} +
+ + {{ if .Params.Thumbnail }} + + {{ else if .Params.image }} + + {{ else }} +
Kein Bild
verfügbar
+ {{ end }} +
+
+

{{.Title}}

+

+ Gepostet am {{ .Date.Format "2. January 2006" }} in: + {{ range .Params.tags }} + {{ . }} + {{ end }} +

+
-
-

{{ .Title }}

-
- {{ .Content }} -
-
+
+ {{ else }} +
+

{{ .Title }}

+
+ {{ .Content }} +
+
+ {{ end }} + {{ else }} +
+

{{ .Title }}

+
+ {{ .Content }} +
+
+ {{ end }} {{ end }}