Use site store for title and social metas

This commit is contained in:
2020-03-03 20:39:09 +01:00
parent e98452673e
commit ed1ff95eb4
5 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
<script>
import { onMount } from 'svelte'
import { site } from '../utils/store'
// Dependencies
import AOS from 'aos'
@@ -28,7 +29,7 @@
</script>
<svelte:head>
<title>Houses Of - {error.message}</title>
<title>{$site.seo_name} - {error.message}</title>
</svelte:head>
<section class="page">