From 5529f3bff17bc2d89e7596f2e11105945d4e22cb Mon Sep 17 00:00:00 2001 From: pancakes Date: Tue, 25 Mar 2025 15:39:52 +1000 Subject: [PATCH] Use og:type article for pages with header images --- src/routes/+layout.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index b26fd77..2381f55 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -18,14 +18,16 @@ {$page.data.title ? $page.data.title + " | pancakes" : "pancakes"} - - {#if !$page.data.header} + {#if $page.data.header} + + {:else} + {/if}