congo/layouts/_default/single.html

27 lines
891 B
HTML
Raw Normal View History

2021-08-11 05:28:33 +00:00
{{ define "main" }}
<article class="max-w-prose">
<header>
2021-08-18 00:08:06 +00:00
{{ if .Site.Params.article.showBreadcrumbs | default false }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
2021-08-20 07:02:08 +00:00
<h1 class="mt-0 text-4xl font-extrabold text-neutral-800 dark:text-neutral">
{{ .Title | emojify }}
</h1>
<div class="mt-8 mb-12 text-base text-neutral-400 dark:text-neutral-500">
2021-08-21 01:42:40 +00:00
{{ partial "article-meta.html" (dict "context" . "scope" "single") }}
2021-08-11 05:28:33 +00:00
</div>
</header>
<section class="prose dark:prose-light">
{{ .Content | emojify }}
2021-08-11 05:28:33 +00:00
</section>
2021-08-16 07:06:35 +00:00
<footer class="pt-8">
{{ partial "author.html" . }}
2021-08-16 07:06:35 +00:00
{{ partial "sharing-links.html" . }}
{{ partial "article-pagination.html" . }}
2021-08-11 05:28:33 +00:00
</footer>
{{ if templates.Exists "partials/comments.html" }}
{{ partial "comments.html" . }}
{{ end }}
</article>
{{ end }}