- {#if $page.data.header}
+ {#if page.data.header}
- {#if $page.data.header_caption}
- {$page.data.header_caption}
+ {#if page.data.header_caption}
+ {page.data.header_caption}
{/if}
{/if}
- {$page.data.title}
- {$page.data.description}
+ {page.data.title}
+ {page.data.description}
- {#if $page.data.published}
+ {#if page.data.published}
Published:
-
- {#if $page.data.edited}
+
+ {#if page.data.edited}
• Last edited:
-
+
{/if}
diff --git a/src/lib/components/DateTime.svelte b/src/lib/components/DateTime.svelte
index 8b65439..ac2d2eb 100644
--- a/src/lib/components/DateTime.svelte
+++ b/src/lib/components/DateTime.svelte
@@ -1,12 +1,18 @@
@@ -9,7 +9,7 @@
pancakes
- {#if $page.url.pathname !== "/"}
+ {#if page.url.pathname !== "/"}
{#each links as link}
{#if link.href && !link.mainOnly}
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 2381f55..2aeccaa 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -1,9 +1,16 @@