lubitest/layouts/blog/list.html

20 lines
715 B
HTML
Raw Normal View History

2024-12-12 19:14:09 +00:00
{{ 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 }}