Skip to content

Commit cedf151

Browse files
committed
fix: add missing ContentLayout wrapper and main element in English daily page
1 parent 2403cc3 commit cedf151

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/pages/en/daily/[slug].astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ const { post } = Astro.props;
1717
const { Content } = await post.render();
1818
---
1919

20+
<ContentLayout title={post.data.title} description={post.data.summary || post.data.title} locale="en" currentPath="/en/daily">
21+
<main class="max-w-[780px] mx-auto px-4 sm:px-6 pt-[72px] sm:pt-[80px] pb-[40px] sm:pb-[60px] flex-1 w-full animate-fade-in">
2022
<a href="/en/daily" class="inline-flex items-center gap-1.5 text-text-dim text-xs sm:text-sm mb-4 sm:mb-6 px-3 sm:px-4 py-2 rounded-lg border border-border bg-bg-card hover:text-text hover:bg-accent-glow hover:border-accent transition-all no-underline">
2123
{t("article.back", "en")}
2224
</a>

0 commit comments

Comments
 (0)