Skip to content

Commit 5412e50

Browse files
author
themycode
committed
add
1 parent fbe973a commit 5412e50

File tree

1 file changed

+18
-24
lines changed

1 file changed

+18
-24
lines changed

.vitepress/theme/Layout.vue

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
<template>
2-
<Layout>
3-
<template #doc-after>
4-
<!-- Giscus temporarily disabled for debugging -->
5-
<!--
6-
<Giscus
7-
v-if="showComments"
8-
repo="themycode/themycode.github.io"
9-
repo-id="MDEwOlJlcG9zaXRvcnkxNjQ1ODkxOTU="
10-
category="Announcements"
11-
category-id="DIC_kwDOCc9ui84C5HGB"
12-
mapping="og:title"
13-
strict="0"
14-
reactions-enabled="1"
15-
emit-metadata="0"
16-
input-position="bottom"
17-
theme="preferred_color_scheme"
18-
lang="zh-CN"
19-
crossorigin="anonymous"
20-
style="max-width: 900px; margin: 0 auto; padding: 20px"
21-
/>
22-
-->
23-
</template>
24-
</Layout>
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+
/>
2519
</template>
2620

2721
<script setup lang="ts">
@@ -30,7 +24,7 @@ import { useRoute } from 'vitepress'
3024
import { useData } from 'vitepress'
3125
import DefaultTheme from 'vitepress/theme'
3226
import Giscus from '@giscus/vue'
33-
27+
import DefaultLayout from 'vitepress/theme'
3428
const { Layout } = DefaultTheme
3529
3630
const route = useRoute()

0 commit comments

Comments
 (0)