zwischenstand
This commit is contained in:
@@ -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}
|
||||
|
||||
0
frontend/src/routes/StaticHomepage.svelte
Normal file
0
frontend/src/routes/StaticHomepage.svelte
Normal file
Reference in New Issue
Block a user