diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 7a01a57..471bfa4 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -60,7 +60,7 @@ onMounted(() => { function handlePageChange() { const { title, headerArt, content, uris } = getCurrentPage(page.value.title) - addText(`${headerArt}\n${title}\n\n${content}`) + addText(`\n${headerArt}\n${title}\n\n${content}`) setFooter(uris) } @@ -71,6 +71,7 @@ onMounted(() => { footerLinks, setFooter } = useTerminal(textArea.value, commands.value, pages, handlePageChange) + handlePageChange() watch(footerLinks, () => {