diff --git a/astro.config.mjs b/astro.config.mjs
index e951817..91af766 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -11,6 +11,7 @@ const site = process.env.PUBLIC_SITE_URL || 'https://windwiderstand.de';
export default defineConfig({
site,
+ devToolbar: { enabled: false },
integrations: [
svelte(),
sitemap(),
diff --git a/src/components/Accordion.svelte b/src/components/Accordion.svelte
new file mode 100644
index 0000000..a2d8281
--- /dev/null
+++ b/src/components/Accordion.svelte
@@ -0,0 +1,28 @@
+
+
+
+
+
+ {label}
+
+
+ {@render children()}
+
+
diff --git a/src/components/EventBadges.svelte b/src/components/EventBadges.svelte
new file mode 100644
index 0000000..868d3a2
--- /dev/null
+++ b/src/components/EventBadges.svelte
@@ -0,0 +1,49 @@
+
+
+{#if dateLabel || locationText}
+
-
+
{#if resolvedImg}
{/if}
+ {#if eventDate}
+
+
+
+ {/if}
0 ||
((post as { row2Content?: unknown[] }).row2Content?.length ?? 0) > 0 ||
((post as { row3Content?: unknown[] }).row3Content?.length ?? 0) > 0;
const translations = Astro.locals.translations ?? {};
+
+const pageConfig =
+ (await getPageConfigBySlug("page-config-default", { locale: "de" })) ??
+ (await getPageConfigs({ locale: "de", per_page: 1 }))[0] ??
+ null;
+const commentSlotRaw =
+ (pageConfig as { postCommentSlot?: string } | null)?.postCommentSlot ?? "";
+const commentSlot = commentSlotRaw
+ .replace(/\{\{PAGE_ID\}\}/g, slug)
+ .replace(/\{\{PAGE_URL\}\}/g, Astro.url.href)
+ .replace(/\{\{PAGE_TITLE\}\}/g, post.headline ?? post.linkName ?? slug);
---
+ {
+ isEvent && (eventDateLabel || eventLocation?.text) && (
+
+
+
+ )
+ }
{
postImageUrl && (
@@ -116,15 +178,46 @@ const translations = Astro.locals.translations ?? {};
+
- {contentHtml && (
-
- )}
- {hasRowContent && (
-
- )}
+ {
+ contentHtml && (
+
+ )
+ }
+ {
+ hasRowContent && (
+
+ )
+ }
+
+ {
+ isEvent && (mapEmbedUrl || mapLinkUrl) && (
+
+ )
+ }
+
+ {
+ (post as { showCommentSection?: boolean }).showCommentSection !== false &&
+ commentSlot && (
+
+
+
+ )
+ }
+
diff --git a/src/styles/global.css b/src/styles/global.css
index 4a80e7c..119613d 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -334,6 +334,10 @@ main ol li {
@apply mt-4 mb-3;
}
+.markdown hr {
+ @apply border-stein-200 border-dotted mb-4;
+}
+
.markdown li,
.markdown li p {
@apply mt-0 mb-0;