From 171795b3fe04fd2e364c4db069350d7717d6d91f Mon Sep 17 00:00:00 2001 From: pancakes Date: Tue, 25 Mar 2025 15:36:43 +1000 Subject: [PATCH] Fix opengraph data --- src/lib/components/ArticleHeader.svelte | 1 + src/routes/+layout.svelte | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/components/ArticleHeader.svelte b/src/lib/components/ArticleHeader.svelte index 9918026..773bc19 100644 --- a/src/lib/components/ArticleHeader.svelte +++ b/src/lib/components/ArticleHeader.svelte @@ -9,6 +9,7 @@ {#if $page.data.header_alt} {/if} + {/if} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1de353a..b26fd77 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -22,11 +22,13 @@ - - + {#if !$page.data.header} + + + {/if}