|
|
|
@ -44,13 +44,45 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
|
{{ if .Parent }}
|
|
|
|
|
{{ if and .Parent.Title (eq .Parent.Title "Rezepte") }}
|
|
|
|
|
<div class="media">
|
|
|
|
|
<a class="media-left media-middle index" href="{{.Permalink}}">
|
|
|
|
|
{{ if .Params.Thumbnail }}
|
|
|
|
|
<img src="{{ .Params.Thumbnail }}" />
|
|
|
|
|
{{ else if .Params.image }}
|
|
|
|
|
<img src="{{ .Params.Image }}" />
|
|
|
|
|
{{ else }}
|
|
|
|
|
<div class="thumb">Kein Bild<br>verfügbar</div>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</a>
|
|
|
|
|
<div class="media-body">
|
|
|
|
|
<h2><a href="{{.Permalink}}">{{.Title}}</a></h2>
|
|
|
|
|
<p class="meta">
|
|
|
|
|
Gepostet am {{ .Date.Format "2. January 2006" }} in:
|
|
|
|
|
{{ range .Params.tags }}
|
|
|
|
|
<a href="{{ "tags/" | absLangURL }}{{ . | urlize }}" role="button">{{ . }} </a>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<h2><a href="{{ .Permalink }}"><i class="fas fa-feather"></i> {{ .Title }}</a></h2>
|
|
|
|
|
<div class="post">
|
|
|
|
|
{{ .Content }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{ else }}
|
|
|
|
|
<div>
|
|
|
|
|
<h2><a href="{{ .Permalink }}"><i class="fas fa-feather"></i> {{ .Title }}</a></h2>
|
|
|
|
|
<div class="post">
|
|
|
|
|
{{ .Content }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ else }}
|
|
|
|
|
<div>
|
|
|
|
|
<h2><a href="{{ .Permalink }}"><i class="fas fa-feather"></i> {{ .Title }}</a></h2>
|
|
|
|
|
<div class="post">
|
|
|
|
|
{{ .Content }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|