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

35 lines
1.1 KiB
HTML

{{ define "main" }}
<div class="row">
<div class="ten columns offset-by-one last-posts">
{{ .Content }}
<hr>
<h4>Neueste Blogposts:</h4>
</div>
</div>
<section>
{{- range first 3 (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"Unsere Projekte>
Veröffentlicht {{ if isset .Params "author" }}von {{ .Params.author }} {{end}}am {{ dateFormat "Monday, 2. January 2006" .Date }}
</p>
<hr>
</div>
</div>
{{- end }}
</section>
<div class="row">
<div class="ten columns offset-by-one">
<ul class="pager">
<li class="next u-pull-right">
<a href="./blog/" class="button">Archiv →</a>
</li>
</ul>
</div>
</div>
{{ end }}