2021-08-11 05:28:33 +00:00
|
|
|
{{ define "main" }}
|
2022-01-20 03:08:52 +00:00
|
|
|
<header>
|
|
|
|
{{ if .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="flex flex-col max-w-full mt-0 prose lg:flex-row dark:prose-invert">
|
|
|
|
<div class="min-w-0 min-h-0 max-w-prose">
|
|
|
|
{{ .Content | emojify }}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
2021-08-11 05:28:33 +00:00
|
|
|
<section class="flex flex-wrap -mx-2 overflow-hidden">
|
2021-08-11 07:21:24 +00:00
|
|
|
{{ range .Data.Terms }}
|
|
|
|
<article class="w-full px-2 my-3 overflow-hidden sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/5">
|
2022-01-11 05:17:49 +00:00
|
|
|
<h2 class="flex items-center">
|
2021-08-18 02:54:18 +00:00
|
|
|
<a
|
2022-02-20 03:36:36 +00:00
|
|
|
class="text-xl font-medium hover:underline decoration-primary-500 hover:underline-offset-2"
|
2021-08-25 23:44:41 +00:00
|
|
|
href="{{ .Page.RelPermalink }}"
|
2021-08-11 05:28:33 +00:00
|
|
|
>{{ .Page.Title }}</a
|
|
|
|
>
|
2021-08-14 04:44:34 +00:00
|
|
|
{{ if $.Site.Params.taxonomy.showTermCount | default true }}
|
2022-01-11 05:17:49 +00:00
|
|
|
<span class="px-2 text-base text-primary-500">·</span>
|
2021-08-20 07:02:08 +00:00
|
|
|
<span class="text-base text-neutral-400">
|
2021-08-14 04:44:34 +00:00
|
|
|
{{ .Count }}
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
2021-08-11 05:28:33 +00:00
|
|
|
</h2>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
{{ end }}
|