Switch to IPng theme

This commit is contained in:
2024-08-13 02:25:52 +02:00
parent fc1c0fdbb4
commit ebf34c65a1
78 changed files with 275 additions and 903 deletions

@ -0,0 +1,27 @@
{{ define "main" }}
<main>
<h1 class="page-title">{{ .Title }}</h1>
Heres a sitemap of informational articles and papers in reversed chronological order:
{{- if .Pages -}}
{{- $pages := (where .Pages ".Draft" false) -}}
{{- /* Use site config params for posts per page if available, otherwise default */ -}}
{{- with .Site.Params.list.paginate | default .Site.Params.paginate -}}
{{- $pages = $.Paginate $pages . -}}
{{- else -}}
{{- $pages = .Paginate $pages -}}
{{- end -}}
<ul>
{{- range $pages.Pages -}}
<li><a href="{{ .Permalink }}"><time>{{ .Date.Format "2006-01-02"}}</time> - {{.Title}}</a></li>
{{- end -}}
</ul>
{{ partial "pagination.html" . }}
{{- end -}}
</main>
{{ end }}