fix(post): Wrap content in #post helper and re-add prose classes

This commit is contained in:
2026-02-17 19:43:27 +01:00
parent f5b46c7a2c
commit 78fe818877

View File

@@ -1,5 +1,6 @@
{{!< default}}
{{#post}}
<article class="container mx-auto px-4 py-12">
<header class="text-center mb-8">
<h1 class="text-6xl font-bold tracking-tight text-[var(--text-primary)] mb-4">{{title fallback="No Title Provided"}}</h1>
@@ -29,7 +30,7 @@
</div>
{{/if}}
<section class="post-content max-w-3xl mx-auto text-[var(--text-primary)] leading-relaxed text-lg">
<section class="post-content max-w-3xl mx-auto text-[var(--text-primary)] leading-relaxed text-lg prose prose-invert">
{{content fallback="<p>No content provided for this post.</p>"}}
</section>
@@ -39,3 +40,4 @@
</a>
</footer>
</article>
{{/post}}