Files
blowfish/layouts/_default/simple.html
T
Nuno CoraçãoandClaude Fable 5 1784d3c13b 🐛 Render comments in the simple article layout
Extract the comments block into a shared article-comments partial and
include it from both single and simple layouts. Fixes #2938.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00

20 lines
630 B
HTML

{{ define "main" }}
<article class="max-w-full">
<header>
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
{{ .Title | emojify }}
</h1>
</header>
<section class="max-w-full mt-6 prose dark:prose-invert">
{{ .Content }}
</section>
<footer class="pt-8 print:hidden">
{{ partial "sharing-links.html" . }}
{{ partial "article-comments.html" . }}
</footer>
</article>
{{ end }}