新增:页脚支持配置公安备案号
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<Comment v-if="!(theme.commentConfig?.hideComments ?? false)" />
|
||||
</template>
|
||||
<template #layout-bottom>
|
||||
<Copyright v-if="(theme.footerConfig?.showFooter ?? true) && (frontmatter?.showFooter ?? true)" />
|
||||
<Footer v-if="(theme.footerConfig?.showFooter ?? true) && (frontmatter?.showFooter ?? true)" />
|
||||
</template>
|
||||
</Layout>
|
||||
</template>
|
||||
@@ -13,7 +13,7 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import { useData } from 'vitepress'
|
||||
import Comment from './Comment.vue'
|
||||
import Copyright from './Copyright.vue'
|
||||
import Footer from './Footer.vue'
|
||||
|
||||
const { Layout } = DefaultTheme
|
||||
const { theme, frontmatter } = useData()
|
||||
|
Reference in New Issue
Block a user