Skip to content

Commit

Permalink
revert static
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Nov 27, 2023
1 parent 876e385 commit 956851b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/meta/Meta.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<script lang="ts">
import { page } from '$app/stores';
import { PUBLIC_URL } from '$env/static/public';
const social_banner = `https://${PUBLIC_URL}/syntax-banner.png`;
</script>

<svelte:head>
<title>{$page.data.meta.title}</title>
<meta name="image" property="og:image" content={social_banner} />
<meta name="image" property="og:image" content={$page.data.meta.image} />
<meta name="theme-color" content="#000000" />
{#if $page.data.meta.canonical}
<link rel="canonical" href={$page.data.meta.canonical} />
Expand Down

0 comments on commit 956851b

Please sign in to comment.