-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f11913
commit 72c1754
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ export const load = async ({params}) => { | |
else { | ||
return { | ||
source, | ||
slug: params.slug, | ||
}; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<script lang="ts"> | ||
import Markdown from '$lib/markdown/Markdown.svelte'; | ||
export let data; | ||
// TODO replace the description using front-matter | ||
</script> | ||
|
||
<svelte:head> | ||
<meta name="description" content="Focus track service documentation" /> | ||
<meta name="description" content={`Documentation for ${data.slug.replace('/', ' ').replace('-', ' ')}`} /> | ||
</svelte:head> | ||
|
||
<Markdown source={data.source} /> |