File tree Expand file tree Collapse file tree 1 file changed +20
-18
lines changed
Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Original file line number Diff line number Diff line change 11<template >
2- <DefaultLayout />
3- <Giscus
4- v-if =" showComments"
5- repo =" themycode/themycode.github.io"
6- repo-id =" MDEwOlJlcG9zaXRvcnkxNjQ1ODkxOTU="
7- category =" Announcements"
8- category-id =" DIC_kwDOCc9ui84C5HGB"
9- mapping =" pathname"
10- strict =" 0"
11- reactions-enabled =" 1"
12- emit-metadata =" 0"
13- input-position =" bottom"
14- theme =" preferred_color_scheme"
15- lang =" zh-CN"
16- crossorigin =" anonymous"
17- style =" max-width : 900px ; margin : 0 auto ; padding : 20px "
18- />
2+ <Layout >
3+ <template #doc-after >
4+ <Giscus
5+ v-if =" showComments"
6+ repo =" themycode/themycode.github.io"
7+ repo-id =" MDEwOlJlcG9zaXRvcnkxNjQ1ODkxOTU="
8+ category =" Announcements"
9+ category-id =" DIC_kwDOCc9ui84C5HGB"
10+ mapping =" pathname"
11+ strict =" 0"
12+ reactions-enabled =" 1"
13+ emit-metadata =" 0"
14+ input-position =" bottom"
15+ theme =" preferred_color_scheme"
16+ lang =" zh-CN"
17+ crossorigin =" anonymous"
18+ style =" max-width : 900px ; margin : 0 auto ; padding : 20px "
19+ />
20+ </template >
21+ </Layout >
1922</template >
2023
2124<script setup lang="ts">
@@ -24,7 +27,6 @@ import { useRoute } from 'vitepress'
2427import { useData } from ' vitepress'
2528import DefaultTheme from ' vitepress/theme'
2629import Giscus from ' @giscus/vue'
27- import DefaultLayout from ' vitepress/theme'
2830const { Layout } = DefaultTheme
2931
3032const route = useRoute ()
You can’t perform that action at this time.
0 commit comments