fix(post): Remove prose classes to debug content visibility
This commit is contained in:
8
post.hbs
8
post.hbs
@@ -2,7 +2,7 @@
|
||||
|
||||
<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}}</h1>
|
||||
<h1 class="text-6xl font-bold tracking-tight text-[var(--text-primary)] mb-4">{{title fallback="No Title Provided"}}</h1>
|
||||
<section class="post-meta text-[var(--text-secondary)] text-lg">
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="MMMM DD, YYYY"}}</time>
|
||||
{{#if primary_tag}}
|
||||
@@ -20,7 +20,7 @@
|
||||
srcset="{{img_url feature_image size="l"}} 1000w,
|
||||
{{img_url feature_image size="xl"}} 2000w"
|
||||
sizes="(max-width: 1000px) 1000px, 2000px"
|
||||
alt="{{title}}"
|
||||
alt="{{title fallback="No Title"}}"
|
||||
>
|
||||
</figure>
|
||||
{{else}}
|
||||
@@ -29,8 +29,8 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<section class="post-content max-w-3xl mx-auto text-[var(--text-primary)] leading-relaxed text-lg prose prose-invert">
|
||||
{{content}}
|
||||
<section class="post-content max-w-3xl mx-auto text-[var(--text-primary)] leading-relaxed text-lg">
|
||||
{{content fallback="<p>No content provided for this post.</p>"}}
|
||||
</section>
|
||||
|
||||
<footer class="mt-12 pt-8 border-t border-[var(--bg-tertiary)] text-center">
|
||||
|
||||
Reference in New Issue
Block a user