mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 04:22:18 +00:00
feat: og images
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<script lang="ts">
|
||||
import { DocsTutorial } from '$lib/layouts';
|
||||
import { getContext, setContext } from 'svelte';
|
||||
import { MainFooter } from '$lib/components';
|
||||
import { MainFooter, Metadata } from '$lib/components';
|
||||
import type { TocItem } from '$lib/layouts/DocsArticle.svelte';
|
||||
import { writable } from 'svelte/store';
|
||||
import type { LayoutContext } from './Article.svelte';
|
||||
@@ -52,8 +52,7 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{title}{DOCS_TITLE_SUFFIX}</title>
|
||||
<meta name="description" content={description} />
|
||||
<Metadata title={title + DOCS_TITLE_SUFFIX} {description} />
|
||||
</svelte:head>
|
||||
|
||||
<DocsTutorial {title} {toc} {tutorials} currentStep={step}>
|
||||
|
||||
Reference in New Issue
Block a user