feat: enable footer by frontmatter

pull/4532/head
yuyinws 8 months ago
parent 9549edb49e
commit e2ac42e030
No known key found for this signature in database
GPG Key ID: 066DDFA8B76EA147

@ -8,7 +8,7 @@ const { hasSidebar } = useSidebar()
<template>
<footer
v-if="theme.footer && frontmatter.footer !== false && (!hasSidebar || theme.footer.showWithSidebar)"
v-if="theme.footer && frontmatter.footer !== false && (!hasSidebar || theme.footer.showWithSidebar || frontmatter.footer)"
class="VPFooter"
:class="{ 'has-sidebar': hasSidebar }"
>

Loading…
Cancel
Save