2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<main class="container mx-auto">
|
|
|
|
<h2 class="mt-8 text-3xl font-bold">{{ .Site.Params.iam }} {{ .Site.Author.name }}</h2>
|
|
|
|
<p class="mt-0 mb-0">{{ .Site.Author.slogon }}</p>
|
|
|
|
<p class="mt-3 mb-3 home-intro">{{ .Site.Author.description | markdownify | safeHTML }}</p>
|
2022-11-07 09:57:21 +01:00
|
|
|
{{ if eq .Paginator.PageNumber 1 }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<h3 class="mt-6 mb-4 text-2xl font-bold">{{ .Site.Params.recent }}</h3>
|
2022-11-07 09:57:21 +01:00
|
|
|
{{ else }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<h3 class="mt-6 mb-4 text-2xl font-bold">{{ .Site.Params.older }}</h3>
|
2022-11-07 09:57:21 +01:00
|
|
|
{{ end }}
|
|
|
|
<div>
|
|
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}
|
|
|
|
{{ range $paginator.Pages }}
|
2022-11-08 11:07:48 +01:00
|
|
|
{{ partial "item.html" . }}
|
2022-11-07 09:57:21 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ partial "paginator.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ if .Site.Params.friends.feeds }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<h3 class="mt-6 mb-6 text-2xl font-semibold">{{ .Site.Params.friends.title }}</h3>
|
2022-11-07 09:57:21 +01:00
|
|
|
<div id="friends"></div>
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|