<template>
  <Layout>
    <template #doc-after>
      <Comment />
    </template>
    <template #layout-bottom>
      <Copyright v-if="(theme.footerConfig?.showFooter ?? true) && (frontmatter?.showFooter ?? true)" />
    </template>
  </Layout>
</template>

<script lang="ts" setup>
import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import Comment from './Comment.vue'
import Copyright from './Copyright.vue'

const { Layout } = DefaultTheme
const { theme, frontmatter } = useData()
</script>

<style scoped>
</style>