lubitest/layouts/blog/list.html
lubiana 979335fef0
Some checks failed
/ debug (push) Failing after 16s
test
2024-12-12 20:14:09 +01:00

20 lines
No EOL
715 B
HTML

{{ define "main" }}
{{ .Content }}
<section>
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
<div class="row">
<div class="ten columns offset-by-one post-preview">
<a href="{{ .Permalink }}" rel="bookmark"
title="Permalink to {{ htmlEscape .Title }}">
<h2>{{ .Title }}</h2>
<h4>{{ .Summary }}...</h4>
</a>
<p class="post-meta">
Veröffentlicht {{ if isset .Params "author" }}von {{ .Params.author }} {{end}}am {{ dateFormat "Monday, 2. January 2006" .Date }}
</p>
<hr>
</div>
</div>
{{- end }}
</section>
{{ end }}