replaced manually-added table of contents with automatic ContentSidebar toc where needed
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<script>
|
||||
import Banner2 from "$lib/banner2.svelte";
|
||||
import Content from "$lib/viewport/content.svelte";
|
||||
import TableOfContents from "$lib/components/table-of-contents.svelte";
|
||||
import ContentSidebar from "$lib/viewport/content-sidebar.svelte";
|
||||
|
||||
export let data;
|
||||
</script>
|
||||
@@ -12,7 +10,7 @@
|
||||
<meta name="DCTERMS.created" content="{data.date}">
|
||||
</svelte:head>
|
||||
|
||||
<Content bannerContent={{
|
||||
<ContentSidebar bannerContent={{
|
||||
title: data.title,
|
||||
subtitle: "Homesick Devlog",
|
||||
date: data.date,
|
||||
@@ -20,8 +18,6 @@
|
||||
bannerAlt: data.bannerAlt,
|
||||
}}>
|
||||
|
||||
<!-- <TableOfContents /> -->
|
||||
|
||||
<svelte:component this={data.content} />
|
||||
|
||||
</Content>
|
||||
</ContentSidebar>
|
||||
Reference in New Issue
Block a user