diff --git a/app/src/routes/[...slug]/+page.svelte b/app/src/routes/[...slug]/+page.svelte index 13afecf..d38b296 100644 --- a/app/src/routes/[...slug]/+page.svelte +++ b/app/src/routes/[...slug]/+page.svelte @@ -1,70 +1,209 @@ + + {#if snapshot} + {snapshot.title} – Jörg Lohrer + + + + + + + + + + {#if snapshot.cover_image?.width} + + {/if} + {#if snapshot.cover_image?.height} + + {/if} + + + + + + {#each snapshot.translations as alt} + + {/each} + + + {/if} + + - - -{#if post} - +{#if snapshot} +
+

{snapshot.title}

+ {#if snapshot.cover_image} +

+ {snapshot.cover_image.alt +

+ {/if} + {#if snapshot.summary} +

{snapshot.summary}

+ {/if} +
{@html bodyHtmlPrerendered}
+
+{:else} + + {#if post} + + {/if} {/if}