Some checks failed
Deploy on webserver / Build site and deploy on success (push) Failing after 55s
26 lines
No EOL
964 B
HTML
26 lines
No EOL
964 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 grow">
|
|
{{ .Content | emojify }}
|
|
</div>
|
|
</section>
|
|
{{ end }}
|
|
<article class="prose max-w-full dark:prose-invert">
|
|
{{ if and (isset .Params "filter") (eq .Params.filter true) }}
|
|
{{ partial "taxonomy-list-filter.html" . }}
|
|
{{ else }}
|
|
{{ if and (isset .Params "list_variant") (eq .Params.list_variant "vertical") }}
|
|
{{ partial "taxonomy-list-vertical.html" . }}
|
|
{{ else }}
|
|
{{ partial "taxonomy-list-grid.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</article>
|
|
{{ end }} |