1
0
Fork 0
forked from q04/www.trr379.de
www.trr379.de/layouts/_default/taxonomy-sortedlist.html
Michael Hanke c8b8368a33
Redo site page as a sorted list of taxonomy terms
There is now an explicit sort key that ensures the listing
is sorted the same as the order of institutions in the proposal.
2024-07-04 10:04:02 +02:00

20 lines
661 B
HTML

{{ define "main" }}
<header>
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title }}</h1>
</header>
{{ if .Content }}
<section class="prose mt-0 flex max-w-full flex-col dark:prose-invert lg:flex-row">
<div class="min-h-0 min-w-0 max-w-prose grow">
{{ .Content | emojify }}
</div>
</section>
{{ end }}
<section>
{{ range .Pages.ByParam "sortkey" }}
{{ partial "article-link.html" . }}
{{ end }}
</section>
{{ end }}