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">
|
<script lang="ts">
|
||||||
let { data } = $props();
|
let { data } = $props();
|
||||||
let { content, toc, frontmatter } = data;
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="toc">
|
<div class="toc">
|
||||||
{@html toc}
|
{@html data.toc}
|
||||||
</div>
|
</div>
|
||||||
{@html content}
|
{@html data.content}
|
||||||
{JSON.stringify(frontmatter)}
|
{JSON.stringify(data.frontmatter)}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.toc :global(p) {
|
.toc :global(p) {
|
||||||
|
|||||||
Reference in New Issue
Block a user