2021-08-11 05:28:33 +00:00
|
|
|
{{ define "main" }}
|
2022-01-20 03:08:52 +00:00
|
|
|
<header>
|
2022-05-26 01:43:19 +00:00
|
|
|
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
|
2022-01-20 03:08:52 +00:00
|
|
|
{{ partial "breadcrumbs.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title }}</h1>
|
|
|
|
</header>
|
|
|
|
{{ if .Content }}
|
2023-12-26 00:56:32 +00:00
|
|
|
<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">
|
2022-01-20 03:08:52 +00:00
|
|
|
{{ .Content | emojify }}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
2023-12-26 00:56:32 +00:00
|
|
|
<section class="-mx-2 flex flex-wrap overflow-hidden">
|
2021-08-11 07:21:24 +00:00
|
|
|
{{ range .Data.Terms }}
|
2023-12-26 00:56:32 +00:00
|
|
|
<article class="my-3 w-full overflow-hidden px-2 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-08-18 04:59:46 +00:00
|
|
|
class="text-xl font-medium decoration-primary-500 hover:underline 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 }}
|