zwischenstand

This commit is contained in:
2025-10-02 09:21:56 +00:00
parent b22d5d5103
commit 899c083190
34 changed files with 3728 additions and 119 deletions

View File

@@ -36,31 +36,7 @@
</script>
{#if loading}
<section class="content-loading">
<p>Inhalt wird geladen …</p>
</section>
{:else if errorMessage}
<section class="content-error">
<p>{errorMessage}</p>
</section>
{:else if contentEntry}
<article class="content-article">
<header>
<h1>{contentEntry.meta?.title ?? contentEntry.name}</h1>
{#if contentEntry.meta?.description}
<p class="lead">{contentEntry.meta.description}</p>
{/if}
</header>
{#if contentEntry.blocks?.length}
<section class="content-debug">
<h2>Struktur</h2>
<pre>{JSON.stringify(contentEntry.blocks, null, 2)}</pre>
</section>
{:else}
<p>Für diesen Inhalt sind noch keine Bausteine definiert.</p>
{/if}
</article>
{:else}
<NotFound />
{/if}