Updated back on tutorials

This commit is contained in:
Eldad Fux
2023-09-28 01:20:49 +03:00
parent d38a78449e
commit 7e6aac1759
3 changed files with 9 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
export let difficulty: string;
export let readtime: string;
export let step: number;
export let back: string;
setContext<LayoutContext>('headings', writable({}));
@@ -56,7 +57,7 @@
<meta name="description" content={description} />
</svelte:head>
<DocsTutorial {title} {toc} {tutorials} currentStep={step}>
<DocsTutorial {title} {back} {toc} {tutorials} currentStep={step}>
<svelte:fragment slot="metadata">
{#if difficulty}
<li>{difficulty}</li>