File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 "devDependencies" : {
4545 "@eslint/js" : " ^9.20.0" ,
4646 "@ianvs/prettier-plugin-sort-imports" : " ^4.4.1" ,
47- "@waline/client" : " ^3.5.2 " ,
47+ "@waline/client" : " ^3.6.0 " ,
4848 "eslint" : " ^9.20.1" ,
4949 "eslint-plugin-astro" : " ^1.3.1" ,
5050 "prettier" : " ^3.5.1" ,
Original file line number Diff line number Diff line change 1- <!-- ---
1+ ---
22import config from ' virtual:config'
33
44import ' @waline/client/style'
@@ -145,4 +145,4 @@ const { class: className } = Astro.props
145145 :global(.dark) #waline :global(.wl-reaction img) {
146146 filter: invert(75%);
147147 }
148- </style> -->
148+ </style >
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export const ThemeConfigSchema = () =>
9494
9595 /** The npm CDN to use for loading npm packages.
9696 * @example
97- * npmCDN: 'https://cdn .jsdelivr.net/npm'
97+ * npmCDN: 'https://gcore .jsdelivr.net/npm'
9898 * npmCDN: 'https://cdn.smartcis.cn/npm'
9999 * npmCDN: 'https://unkpg.com'
100100 * npmCDN: 'https://cdn.cbd.int'
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ Some light-weighted libraries are using js static links. You can configure CDN l
2020``` ts title="src/site.config.ts"
2121export const theme: ThemeUserConfig = {
2222 // ...
23- npmCDN: ' https://cdn .jsdelivr.net/npm' ,
23+ npmCDN: ' https://gcore .jsdelivr.net/npm' ,
2424 // Recommend:
25- // - https://cdn .jsdelivr.net/npm
25+ // - https://gcore .jsdelivr.net/npm
2626 // - https://cdn.smartcis.cn/npm
2727 // - https://unkpg.com
2828 // - https://cdn.cbd.int
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ import Hero from '@/custom/components/pages/Hero.astro'
1111
1212import { MediumZoom } from ' astro-pure/advanced'
1313import PageLayout from ' @/layouts/ContentLayout.astro'
14- import Comment from ' @/components/Comment.astro'
14+ // import Comment from '@/components/Comment.astro'
15+ import { Comment } from ' @/custom/components/advanced'
16+
1517import AccordionTOC from ' @/components/toc/AccordionTOC.astro'
1618import { integ } from ' @/site-config'
1719
Original file line number Diff line number Diff line change 11---
2- import Comment from ' @/components/Comment.astro'
2+ // import Comment from '@/components/Comment.astro'
3+ import { Comment } from ' @/custom/components/advanced'
4+
35import { Spoiler , Timeline } from ' astro-pure/user'
46import PageLayout from ' @/layouts/CommonPage.astro'
57import Substats from ' @/components/about/Substats.astro'
Original file line number Diff line number Diff line change 22import links from ' public/links.json'
33import config from ' virtual:config'
44
5- import Comment from ' @/components/Comment.astro'
5+ // import Comment from '@/components/Comment.astro'
6+ import { Comment } from ' @/custom/components/advanced'
7+
68import { Collapse , Timeline } from ' astro-pure/user'
79import PageLayout from ' @/layouts/CommonPage.astro'
810import FriendList from ' @/components/links/FriendList.astro'
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const theme: ThemeUserConfig = {
3232 // === Global configuration ===
3333 titleDelimiter : '•' ,
3434 prerender : true ,
35- npmCDN : 'https://cdn .jsdelivr.net/npm' ,
35+ npmCDN : 'https://gcore .jsdelivr.net/npm' ,
3636
3737 // Still in test
3838 head : [
@@ -142,15 +142,15 @@ export const integ: IntegrationUserConfig = {
142142 } ,
143143 // Comment system
144144 waline : {
145- enable : false ,
146- server : 'https://waline.8cat.life/ ' ,
145+ enable : true ,
146+ server : 'https://waline-for-8catlife.vercel.app ' ,
147147 emoji : [ 'weibo' ] ,
148148 additionalConfigs : {
149149 search : false ,
150150 meta : [ 'nick' , 'mail' ] ,
151151 requiredMeta : [ 'nick' ] ,
152- imageUploader : false ,
153- reaction : false ,
152+ imageUploader : true ,
153+ reaction : true ,
154154 pageview : true ,
155155 comment : true ,
156156 placeholder : '欢迎留言~ (邮箱用于接收回复通知,不会公开)' ,
You can’t perform that action at this time.
0 commit comments