From 8d9cdc92d57fca9f6ac7476f16f5c05daa6f4cba Mon Sep 17 00:00:00 2001 From: ebby Date: Mon, 5 Oct 2026 09:48:56 +0200 Subject: [PATCH] somewhat there --- blog/src/content.config.ts | 1 + blog/src/layouts/BlogPostLayout.astro | 115 +++++++++++++++++++------- blog/src/pages/blog/7_Spanien.mdx | 5 +- 3 files changed, 87 insertions(+), 34 deletions(-) diff --git a/blog/src/content.config.ts b/blog/src/content.config.ts index cfb8045..1c5e899 100644 --- a/blog/src/content.config.ts +++ b/blog/src/content.config.ts @@ -7,6 +7,7 @@ const postSchema = z.object({ title: z.string(), subtitle: z.string(), description: z.string(), + introduction: z.string(), image: z.object({ path: z.string(), alt: z.string() diff --git a/blog/src/layouts/BlogPostLayout.astro b/blog/src/layouts/BlogPostLayout.astro index dac0076..109deb9 100644 --- a/blog/src/layouts/BlogPostLayout.astro +++ b/blog/src/layouts/BlogPostLayout.astro @@ -17,26 +17,30 @@ const localeDate = formatLocalizedDateString(postData.date); ---
-
- {postData.image.alt} -

{postData.title}

-
- Autor: {postData.author} - {localeDate} +
+
+ {postData.image.alt} +
+
+ {localeDate} | + Autor: {postData.author} | + Lesezeit: {postData.time2read} +
+

{postData.title}

+

{postData.subtitle}

+
+ {postData.introduction}
- - -

- Disclaimer: Dieser Artikel ist ausschließlich privat und wird nicht durch - Produktplatzierung, Affiliate-Links oder ähnliches Unterstützt. Links - dienen allein dem Zweck der Information. -

-
+
+ + +

+ Disclaimer: Dieser Artikel ist ausschließlich privat und wird nicht + durch Produktplatzierung, Affiliate-Links oder ähnliches Unterstützt. + Links dienen allein dem Zweck der Information. +

+
+