2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<main>
|
2021-08-29 17:55:45 +02:00
|
|
|
<h2 class="mt-5 mb-1">{{ .Site.Params.iam }} {{ .Site.Author.name }}</h2>
|
|
|
|
<p class="my-0">{{ .Site.Author.slogon }}</p>
|
|
|
|
<p class="my-3">{{ .Site.Author.description | markdownify | safeHTML }}</p>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ if eq .Paginator.PageNumber 1 }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<h3 class="my-5">Recent Posts</h3>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ else }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<h3 class="my-5">Older Posts</h3>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|
|
|
|
<div>
|
|
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}
|
|
|
|
{{ range $paginator.Pages }}
|
2021-08-29 17:55:45 +02:00
|
|
|
<div class="flex sm:flex-col my-5 sm:mb-6 sm:mt-3">
|
|
|
|
<div class="min-w-32 sm:mb-2">{{ dateFormat .Site.Params.timeformat .Date }}</div>
|
|
|
|
<a class="self-start" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
2021-07-18 10:34:01 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "paginator.html" . }}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|