site: fix page not updating bug
This commit is contained in:
committed by
Johannes Kirschbauer
parent
84ab04fc06
commit
3187ad3f5b
@@ -1,13 +1,12 @@
|
||||
<script lang="ts">
|
||||
let { data } = $props();
|
||||
let { content, toc, frontmatter } = data;
|
||||
</script>
|
||||
|
||||
<div class="toc">
|
||||
{@html toc}
|
||||
{@html data.toc}
|
||||
</div>
|
||||
{@html content}
|
||||
{JSON.stringify(frontmatter)}
|
||||
{@html data.content}
|
||||
{JSON.stringify(data.frontmatter)}
|
||||
|
||||
<style>
|
||||
.toc :global(p) {
|
||||
|
||||
Reference in New Issue
Block a user