From d2067078db48cfea6425b01a0a84d8f09d5bcec0 Mon Sep 17 00:00:00 2001 From: pancakes Date: Wed, 24 Apr 2024 17:28:26 +1000 Subject: [PATCH] Update components --- src/lib/components/ArticleHeader.svelte | 24 +++++++- src/routes/style.css | 82 ++++++++++++++++++++++++- 2 files changed, 104 insertions(+), 2 deletions(-) diff --git a/src/lib/components/ArticleHeader.svelte b/src/lib/components/ArticleHeader.svelte index 02a7730..4c8e704 100644 --- a/src/lib/components/ArticleHeader.svelte +++ b/src/lib/components/ArticleHeader.svelte @@ -6,12 +6,24 @@ {#if $page.data.header} + {#if $page.data.header_alt} + + {/if} {/if}
{#if $page.data.header} - header +
+ {$page.data.header_alt + {#if $page.data.header_caption} +
{$page.data.header_caption}
+ {/if} +
{/if}

{$page.data.title}

@@ -32,6 +44,16 @@