valaxy 0.15.11-alpha.0 → 0.15.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/LICENSE +21 -0
  2. package/bin/valaxy.cjs +0 -0
  3. package/bin/valaxy.mjs +0 -0
  4. package/dist/{chunk-3EJGKTUH.mjs → chunk-HAVGXIHI.mjs} +1 -1
  5. package/dist/{chunk-RDNVTVQ5.cjs → chunk-HZFTOKBG.cjs} +1 -1
  6. package/dist/{config-e5704a2c.d.ts → config-0d4945ff.d.ts} +12 -2
  7. package/dist/node/cli/index.cjs +1 -1
  8. package/dist/node/cli/index.mjs +1 -1
  9. package/dist/node/index.cjs +1 -1
  10. package/dist/node/index.d.cts +1 -2
  11. package/dist/node/index.d.ts +1 -2
  12. package/dist/node/index.mjs +1 -1
  13. package/dist/types/index.cjs +1 -1
  14. package/dist/types/index.d.cts +2 -4
  15. package/dist/types/index.d.ts +2 -4
  16. package/dist/types/index.mjs +1 -1
  17. package/package.json +8 -9
  18. package/types/config.ts +3 -1
  19. package/types/{default-theme.d.ts → default-theme.ts} +2 -1
  20. package/types/index.ts +2 -1
  21. package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +0 -1
  22. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +0 -227
  23. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +0 -752
  24. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +0 -31
  25. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +0 -42
  26. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +0 -172
  27. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +0 -1105
  28. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +0 -286
  29. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +0 -627
  30. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +0 -2460
  31. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +0 -1071
  32. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +0 -490
  33. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +0 -1851
  34. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +0 -1444
  35. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +0 -321
  36. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +0 -2625
  37. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +0 -244
  38. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +0 -370
  39. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +0 -3684
  40. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +0 -969
  41. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +0 -517
  42. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +0 -4159
  43. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +0 -676
  44. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +0 -768
  45. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +0 -527
  46. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +0 -424
  47. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +0 -563
  48. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +0 -3294
  49. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +0 -202
  50. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +0 -549
  51. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +0 -4161
  52. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +0 -1170
  53. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +0 -1564
  54. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +0 -6119
  55. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +0 -180
  56. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +0 -5895
  57. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +0 -278
  58. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +0 -752
  59. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +0 -1605
  60. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +0 -4
  61. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +0 -477
  62. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +0 -286
  63. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +0 -3742
  64. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +0 -548
  65. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +0 -574
  66. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +0 -172
  67. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +0 -669
  68. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +0 -619
  69. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +0 -830
  70. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +0 -350
  71. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +0 -1131
  72. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +0 -4963
  73. package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +0 -675
  74. package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +0 -33
  75. package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +0 -6239
  76. package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
  77. package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +0 -1
  78. package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +0 -227
  79. package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +0 -752
  80. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +0 -31
  81. package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +0 -42
  82. package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +0 -172
  83. package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +0 -1105
  84. package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +0 -286
  85. package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +0 -627
  86. package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +0 -2460
  87. package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +0 -1071
  88. package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +0 -490
  89. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +0 -1851
  90. package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +0 -1444
  91. package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +0 -321
  92. package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +0 -2625
  93. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +0 -244
  94. package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +0 -370
  95. package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +0 -3684
  96. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +0 -969
  97. package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +0 -517
  98. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +0 -4159
  99. package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +0 -676
  100. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +0 -768
  101. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +0 -527
  102. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +0 -424
  103. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +0 -563
  104. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +0 -3294
  105. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +0 -202
  106. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +0 -549
  107. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +0 -4161
  108. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +0 -1170
  109. package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +0 -1564
  110. package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +0 -6119
  111. package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +0 -180
  112. package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +0 -5895
  113. package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +0 -278
  114. package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +0 -752
  115. package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +0 -1605
  116. package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +0 -4
  117. package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +0 -477
  118. package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +0 -286
  119. package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +0 -3742
  120. package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +0 -548
  121. package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +0 -574
  122. package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +0 -172
  123. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +0 -669
  124. package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +0 -619
  125. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +0 -830
  126. package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +0 -350
  127. package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +0 -1131
  128. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +0 -4963
  129. package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +0 -675
  130. package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +0 -33
  131. package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +0 -6239
  132. package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
@@ -1,4161 +0,0 @@
1
- import { _ as _export_sfc, a as _sfc_main$1 } from "../main.mjs";
2
- import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
3
- import { provide, mergeProps, withCtx, createTextVNode, createVNode, renderSlot, useSSRContext } from "vue";
4
- import { useRoute } from "vue-router";
5
- import { ssrRenderComponent, ssrRenderStyle, ssrRenderSlot } from "vue/server-renderer";
6
- import "vite-ssg";
7
- import "pinia";
8
- import "@vueuse/core";
9
- import "dayjs";
10
- import "dayjs/plugin/utc.js";
11
- import "dayjs/plugin/timezone.js";
12
- import "dayjs/locale/zh-cn.js";
13
- import "body-scroll-lock";
14
- import "@intlify/shared";
15
- import "@intlify/core-base";
16
- import "@vue/devtools-api";
17
- import "@unhead/schema-org";
18
- import "@unhead/vue";
19
- import "dayjs/plugin/relativeTime.js";
20
- import "defu";
21
- import "nprogress";
22
- import "medium-zoom";
23
- import "vanilla-lazyload";
24
- const __pageData = JSON.parse('{"title":"Config","description":"","frontmatter":{"title":"Config","title_zh-CN":"基础配置","categories":["config"],"end":false},"headers":[{"level":2,"title":"配置说明","slug":"配置说明","link":"#配置说明","children":[]},{"level":2,"title":"Configurations","slug":"configurations","link":"#configurations","children":[]},{"level":2,"title":"站点配置","slug":"站点配置","link":"#站点配置","children":[]},{"level":2,"title":"Site Config","slug":"site-config","link":"#site-config","children":[{"level":3,"title":"Default Frontmatter","slug":"default-frontmatter","link":"#default-frontmatter","children":[]},{"level":3,"title":"社交图标","slug":"社交图标","link":"#社交图标","children":[]},{"level":3,"title":"Social Icons","slug":"social-icons","link":"#social-icons","children":[]},{"level":3,"title":"赞助","slug":"赞助","link":"#赞助","children":[]},{"level":3,"title":"Sponsor","slug":"sponsor","link":"#sponsor","children":[]},{"level":3,"title":"阅读统计","slug":"阅读统计","link":"#阅读统计","children":[]}]},{"level":2,"title":"主题配置","slug":"主题配置","link":"#主题配置","children":[]},{"level":2,"title":"Theme Config","slug":"theme-config","link":"#theme-config","children":[]}],"relativePath":"pages/guide/config/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\config\\\\index.md","lastUpdated":1698506898000}');
25
- const data = JSON.parse('{"title":"Config","description":"","frontmatter":{"title":"Config","title_zh-CN":"基础配置","categories":["config"],"end":false},"headers":[{"level":2,"title":"配置说明","slug":"配置说明","link":"#配置说明","children":[]},{"level":2,"title":"Configurations","slug":"configurations","link":"#configurations","children":[]},{"level":2,"title":"站点配置","slug":"站点配置","link":"#站点配置","children":[]},{"level":2,"title":"Site Config","slug":"site-config","link":"#site-config","children":[{"level":3,"title":"Default Frontmatter","slug":"default-frontmatter","link":"#default-frontmatter","children":[]},{"level":3,"title":"社交图标","slug":"社交图标","link":"#社交图标","children":[]},{"level":3,"title":"Social Icons","slug":"social-icons","link":"#social-icons","children":[]},{"level":3,"title":"赞助","slug":"赞助","link":"#赞助","children":[]},{"level":3,"title":"Sponsor","slug":"sponsor","link":"#sponsor","children":[]},{"level":3,"title":"阅读统计","slug":"阅读统计","link":"#阅读统计","children":[]}]},{"level":2,"title":"主题配置","slug":"主题配置","link":"#主题配置","children":[]},{"level":2,"title":"Theme Config","slug":"theme-config","link":"#theme-config","children":[]}],"relativePath":"pages/guide/config/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\config\\\\index.md","lastUpdated":1698506898000}');
26
- const _sfc_main = {
27
- name: "pages/guide/config/index.md",
28
- data() {
29
- return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
30
- },
31
- setup() {
32
- const route = useRoute();
33
- route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
34
- provide("pageData", data);
35
- }
36
- };
37
- function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
38
- const _component_ValaxyMain = __unplugin_components_0;
39
- const _component_AppLink = _sfc_main$1;
40
- _push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
41
- frontmatter: $data.frontmatter,
42
- data: $data.data
43
- }, _attrs), {
44
- "main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
45
- if (_push2) {
46
- _push2(`<h2 lang="zh-CN" id="配置说明" tabindex="-1"${_scopeId}>配置说明 `);
47
- _push2(ssrRenderComponent(_component_AppLink, {
48
- class: "header-anchor",
49
- href: "#配置说明",
50
- "aria-label": 'Permalink to "配置说明 {lang="zh-CN"}"'
51
- }, {
52
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
53
- if (_push3) {
54
- _push3(`​`);
55
- } else {
56
- return [
57
- createTextVNode("​")
58
- ];
59
- }
60
- }),
61
- _: 1
62
- /* STABLE */
63
- }, _parent2, _scopeId));
64
- _push2(`</h2><h2 lang="en" id="configurations" tabindex="-1"${_scopeId}>Configurations `);
65
- _push2(ssrRenderComponent(_component_AppLink, {
66
- class: "header-anchor",
67
- href: "#configurations",
68
- "aria-label": 'Permalink to "Configurations {lang="en"}"'
69
- }, {
70
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
71
- if (_push3) {
72
- _push3(`​`);
73
- } else {
74
- return [
75
- createTextVNode("​")
76
- ];
77
- }
78
- }),
79
- _: 1
80
- /* STABLE */
81
- }, _parent2, _scopeId));
82
- _push2(`</h2><div lang="zh-CN"${_scopeId}><p${_scopeId}>为了便于配置,Valaxy 将配置分为了三种。</p><p${_scopeId}><code${_scopeId}>valaxy.config.ts</code> 是配置的主入口,它包含了一下配置。</p><ul${_scopeId}><li${_scopeId}><code${_scopeId}>siteConfig</code>: 站点<strong${_scopeId}>信息</strong>配置,这部分内容面向站点展示且在任何主题也是通用的格式</li><li${_scopeId}><code${_scopeId}>themeConfig</code>: 主题配置,这部分内容仅在特定主题生效</li><li${_scopeId}><code${_scopeId}>runtimeConfig</code>: 运行时的配置(由 Valaxy 自动生成),用户无需配置</li><li${_scopeId}>其他 Valaxy 通用配置内容(如需要在 Node 端处理的配置 <code${_scopeId}>unocss</code>/<code${_scopeId}>addons</code>)</li></ul><p${_scopeId}>譬如:</p></div><div lang="en"${_scopeId}><p${_scopeId}>To simplify config, Valaxy divided the configuration into 3.</p><p${_scopeId}><code${_scopeId}>valaxy.config.ts</code> is the main entry of configuration.</p><ul${_scopeId}><li${_scopeId}><code${_scopeId}>siteConfig</code>: Site <strong${_scopeId}>info</strong> config. This affects info displayed on the site, and is independent of themes.</li><li${_scopeId}><code${_scopeId}>themeConfig</code>: Theme config. This part is effective only when the specific theme is in use.</li><li${_scopeId}><code${_scopeId}>runtimeConfig</code>: Runtime config (generated by Valaxy). You don&#39;t need to modify the config.</li><li${_scopeId}>Other general Valaxy config (e.g., config that&#39;s needed for Node)</li></ul><p${_scopeId}>For example:</p></div><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// valaxy.config.ts</span></span>
83
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineValaxyConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
84
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>type</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { ThemeConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy-theme-yun&#39;</span></span>
85
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { addonComponents } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy-addon-components&#39;</span></span>
86
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> Inspect </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;vite-plugin-inspect&#39;</span></span>
87
- <span class="line"${_scopeId}></span>
88
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>const</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>safelist</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> [</span></span>
89
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-home-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
90
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>]</span></span>
91
- <span class="line"${_scopeId}></span>
92
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineValaxyConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>ThemeConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;({</span></span>
93
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site config see site.config.ts or write in siteConfig</span></span>
94
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> siteConfig: {},</span></span>
95
- <span class="line"${_scopeId}></span>
96
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> theme: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;yun&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
97
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> themeConfig: {</span></span>
98
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> banner: {</span></span>
99
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
100
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;云游君的小站&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
101
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
102
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
103
- <span class="line"${_scopeId}></span>
104
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> vite: {</span></span>
105
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// https://github.com/antfu/vite-plugin-inspect</span></span>
106
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// Visit http://localhost:3333/__inspect/ to see the inspector</span></span>
107
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> plugins: [</span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Inspect</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>()],</span></span>
108
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
109
- <span class="line"${_scopeId}></span>
110
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> unocss: {</span></span>
111
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> safelist,</span></span>
112
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
113
- <span class="line"${_scopeId}></span>
114
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> addons: [</span></span>
115
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>addonComponents</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>()</span></span>
116
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
117
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// valaxy.config.ts</span></span>
118
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineValaxyConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
119
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>type</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { ThemeConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy-theme-yun&#39;</span></span>
120
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { addonComponents } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy-addon-components&#39;</span></span>
121
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> Inspect </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;vite-plugin-inspect&#39;</span></span>
122
- <span class="line"${_scopeId}></span>
123
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>const</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>safelist</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> [</span></span>
124
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-home-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
125
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>]</span></span>
126
- <span class="line"${_scopeId}></span>
127
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineValaxyConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>ThemeConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;({</span></span>
128
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site config see site.config.ts or write in siteConfig</span></span>
129
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> siteConfig: {},</span></span>
130
- <span class="line"${_scopeId}></span>
131
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> theme: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;yun&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
132
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> themeConfig: {</span></span>
133
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> banner: {</span></span>
134
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
135
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;云游君的小站&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
136
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
137
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
138
- <span class="line"${_scopeId}></span>
139
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> vite: {</span></span>
140
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// https://github.com/antfu/vite-plugin-inspect</span></span>
141
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// Visit http://localhost:3333/__inspect/ to see the inspector</span></span>
142
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> plugins: [</span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Inspect</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>()],</span></span>
143
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
144
- <span class="line"${_scopeId}></span>
145
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> unocss: {</span></span>
146
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> safelist,</span></span>
147
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
148
- <span class="line"${_scopeId}></span>
149
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> addons: [</span></span>
150
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>addonComponents</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>()</span></span>
151
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
152
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><h2 lang="zh-CN" id="站点配置" tabindex="-1"${_scopeId}>站点配置 `);
153
- _push2(ssrRenderComponent(_component_AppLink, {
154
- class: "header-anchor",
155
- href: "#站点配置",
156
- "aria-label": 'Permalink to "站点配置 {lang="zh-CN"}"'
157
- }, {
158
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
159
- if (_push3) {
160
- _push3(`​`);
161
- } else {
162
- return [
163
- createTextVNode("​")
164
- ];
165
- }
166
- }),
167
- _: 1
168
- /* STABLE */
169
- }, _parent2, _scopeId));
170
- _push2(`</h2><h2 lang="en" id="site-config" tabindex="-1"${_scopeId}>Site Config `);
171
- _push2(ssrRenderComponent(_component_AppLink, {
172
- class: "header-anchor",
173
- href: "#site-config",
174
- "aria-label": 'Permalink to "Site Config {lang="en"}"'
175
- }, {
176
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
177
- if (_push3) {
178
- _push3(`​`);
179
- } else {
180
- return [
181
- createTextVNode("​")
182
- ];
183
- }
184
- }),
185
- _: 1
186
- /* STABLE */
187
- }, _parent2, _scopeId));
188
- _push2(`</h2><blockquote${_scopeId}><p${_scopeId}>更多详细配置可参见 `);
189
- _push2(ssrRenderComponent(_component_AppLink, {
190
- href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/config.ts",
191
- target: "_blank",
192
- rel: "noreferrer"
193
- }, {
194
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
195
- if (_push3) {
196
- _push3(`types/config.ts`);
197
- } else {
198
- return [
199
- createTextVNode("types/config.ts")
200
- ];
201
- }
202
- }),
203
- _: 1
204
- /* STABLE */
205
- }, _parent2, _scopeId));
206
- _push2(`。</p></blockquote><div lang="zh-CN"${_scopeId}><p${_scopeId}>站点<strong${_scopeId}>信息</strong>配置,这部分内容面向站点展示且在任何主题也是通用的格式。</p><p${_scopeId}>你也可以将其写在 <code${_scopeId}>site.config.ts</code> 中。</p><p${_scopeId}>譬如:</p><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
207
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
208
- <span class="line"${_scopeId}></span>
209
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
210
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> lang: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;zh-CN&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
211
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Valaxy Theme Yun&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
212
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://valaxy.site/&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
213
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> author: {</span></span>
214
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;云游君&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
215
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> avatar: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/images/avatar.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
216
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
217
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
218
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 站点图标</span></span>
219
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
220
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> favicon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/favicon.svg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
221
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
222
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 副标题</span></span>
223
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
224
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> subtitle: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;All at sea.&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
225
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> description: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Valaxy Theme Yun Preview.&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
226
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> social: [</span></span>
227
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
228
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
229
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
230
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
231
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
232
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }</span></span>
233
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
234
- <span class="line"${_scopeId}></span>
235
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> sponsor: {</span></span>
236
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
237
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> methods: [</span></span>
238
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
239
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;支付宝&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
240
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
241
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
242
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
243
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
244
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
245
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
246
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
247
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
248
- <span class="line"${_scopeId}></span>
249
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
250
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> lang: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;zh-CN&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
251
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Valaxy Theme Yun&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
252
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://valaxy.site/&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
253
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> author: {</span></span>
254
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;云游君&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
255
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> avatar: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/images/avatar.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
256
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
257
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
258
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 站点图标</span></span>
259
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
260
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> favicon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/favicon.svg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
261
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
262
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 副标题</span></span>
263
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
264
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> subtitle: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;All at sea.&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
265
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> description: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Valaxy Theme Yun Preview.&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
266
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> social: [</span></span>
267
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
268
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
269
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
270
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
271
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
272
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }</span></span>
273
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
274
- <span class="line"${_scopeId}></span>
275
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> sponsor: {</span></span>
276
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
277
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> methods: [</span></span>
278
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
279
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;支付宝&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
280
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
281
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
282
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
283
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
284
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
285
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
286
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div></div><div lang="en"${_scopeId}><p${_scopeId}>Site <strong${_scopeId}>info</strong> config. This affects info displayed on the site, and is independent of themes.</p><p${_scopeId}>You can also write it in <code${_scopeId}>site.config.ts</code>.</p><p${_scopeId}>For example:</p><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
287
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
288
- <span class="line"${_scopeId}></span>
289
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
290
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> lang: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;zh-CN&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
291
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Valaxy Theme Yun&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
292
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://valaxy.site/&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
293
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> author: {</span></span>
294
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Yunyoujun&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
295
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> avatar: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/images/avatar.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
296
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
297
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
298
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Site favicon</span></span>
299
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
300
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> favicon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/favicon.svg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
301
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
302
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Subtitle</span></span>
303
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
304
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> subtitle: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;All at sea.&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
305
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> description: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Valaxy Theme Yun Preview.&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
306
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> social: [</span></span>
307
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
308
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
309
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
310
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
311
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
312
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }</span></span>
313
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
314
- <span class="line"${_scopeId}></span>
315
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> sponsor: {</span></span>
316
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
317
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> methods: [</span></span>
318
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
319
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Alipay&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
320
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
321
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
322
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
323
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
324
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
325
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
326
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
327
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
328
- <span class="line"${_scopeId}></span>
329
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
330
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> lang: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;zh-CN&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
331
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> title: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Valaxy Theme Yun&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
332
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://valaxy.site/&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
333
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> author: {</span></span>
334
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Yunyoujun&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
335
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> avatar: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/images/avatar.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
336
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
337
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
338
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Site favicon</span></span>
339
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
340
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> favicon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://www.yunyoujun.cn/favicon.svg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
341
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
342
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Subtitle</span></span>
343
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
344
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> subtitle: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;All at sea.&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
345
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> description: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Valaxy Theme Yun Preview.&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
346
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> social: [</span></span>
347
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
348
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
349
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
350
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
351
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
352
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }</span></span>
353
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
354
- <span class="line"${_scopeId}></span>
355
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> sponsor: {</span></span>
356
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
357
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> methods: [</span></span>
358
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
359
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Alipay&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
360
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
361
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
362
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
363
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
364
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
365
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
366
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div></div><h3 id="default-frontmatter" tabindex="-1"${_scopeId}>Default Frontmatter `);
367
- _push2(ssrRenderComponent(_component_AppLink, {
368
- class: "header-anchor",
369
- href: "#default-frontmatter",
370
- "aria-label": 'Permalink to "Default Frontmatter"'
371
- }, {
372
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
373
- if (_push3) {
374
- _push3(`​`);
375
- } else {
376
- return [
377
- createTextVNode("​")
378
- ];
379
- }
380
- }),
381
- _: 1
382
- /* STABLE */
383
- }, _parent2, _scopeId));
384
- _push2(`</h3><p${_scopeId}>为所有文章设置默认的 Frontmatter。</p><p${_scopeId}>譬如:</p><blockquote${_scopeId}><p${_scopeId}>设置 <code${_scopeId}>time_warning: false</code>,则所有文章都不会显示阅读时间警告。</p></blockquote><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark has-highlighted-lines vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
385
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
386
- <span class="line"${_scopeId}></span>
387
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
388
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
389
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 默认 Frontmatter</span></span>
390
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
391
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> frontmatter: {</span></span>
392
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> time_warning: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>false</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
393
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }</span></span>
394
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light has-highlighted-lines vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
395
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
396
- <span class="line"${_scopeId}></span>
397
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
398
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
399
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 默认 Frontmatter</span></span>
400
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
401
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> frontmatter: {</span></span>
402
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> time_warning: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>false</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
403
- <span class="line highlighted"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }</span></span>
404
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><h3 lang="zh-CN" id="社交图标" tabindex="-1"${_scopeId}>社交图标 `);
405
- _push2(ssrRenderComponent(_component_AppLink, {
406
- class: "header-anchor",
407
- href: "#社交图标",
408
- "aria-label": 'Permalink to "社交图标 {lang="zh-CN"}"'
409
- }, {
410
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
411
- if (_push3) {
412
- _push3(`​`);
413
- } else {
414
- return [
415
- createTextVNode("​")
416
- ];
417
- }
418
- }),
419
- _: 1
420
- /* STABLE */
421
- }, _parent2, _scopeId));
422
- _push2(`</h3><h3 lang="en" id="social-icons" tabindex="-1"${_scopeId}>Social Icons `);
423
- _push2(ssrRenderComponent(_component_AppLink, {
424
- class: "header-anchor",
425
- href: "#social-icons",
426
- "aria-label": 'Permalink to "Social Icons {lang="en"}"'
427
- }, {
428
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
429
- if (_push3) {
430
- _push3(`​`);
431
- } else {
432
- return [
433
- createTextVNode("​")
434
- ];
435
- }
436
- }),
437
- _: 1
438
- /* STABLE */
439
- }, _parent2, _scopeId));
440
- _push2(`</h3><div lang="zh-CN"${_scopeId}><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>SocialLink</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
441
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
442
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 社交链接名称</span></span>
443
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
444
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
445
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>link</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
446
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
447
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 图标名称</span></span>
448
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * https://icones.js.org/</span></span>
449
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
450
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
451
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
452
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>}</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>SocialLink</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
453
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
454
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 社交链接名称</span></span>
455
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
456
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
457
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>link</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
458
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
459
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 图标名称</span></span>
460
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * https://icones.js.org/</span></span>
461
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
462
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
463
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
464
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}</span></span></code></pre></div><p${_scopeId}>示例:</p></div><div lang="en"${_scopeId}><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>SocialLink</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
465
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
466
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * The title of your link</span></span>
467
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
468
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
469
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>link</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
470
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
471
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Icon name</span></span>
472
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * https://icones.js.org/</span></span>
473
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
474
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
475
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
476
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>}</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>SocialLink</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
477
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
478
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * The title of your link</span></span>
479
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
480
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
481
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>link</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
482
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
483
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * Icon name</span></span>
484
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * https://icones.js.org/</span></span>
485
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
486
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
487
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
488
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}</span></span></code></pre></div><p${_scopeId}>Example:</p></div><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
489
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
490
- <span class="line"${_scopeId}></span>
491
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
492
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> social: [</span></span>
493
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
494
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
495
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
496
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
497
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
498
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
499
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
500
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;QQ 群 1050458482&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
501
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://qm.qq.com/cgi-bin/qm/qr?k=kZJzggTTCf4SpvEQ8lXWoi5ZjhAx0ILZ&amp;jump_from=webapi&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
502
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-qq-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
503
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#12B7F5&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
504
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
505
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
506
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;GitHub&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
507
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://github.com/YunYouJun&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
508
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-github-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
509
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#6e5494&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
510
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
511
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ]</span></span>
512
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
513
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
514
- <span class="line"${_scopeId}></span>
515
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
516
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> social: [</span></span>
517
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
518
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;RSS&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
519
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;/atom.xml&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
520
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-rss-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
521
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;orange&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
522
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
523
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
524
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;QQ 群 1050458482&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
525
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://qm.qq.com/cgi-bin/qm/qr?k=kZJzggTTCf4SpvEQ8lXWoi5ZjhAx0ILZ&amp;jump_from=webapi&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
526
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-qq-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
527
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#12B7F5&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
528
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
529
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
530
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;GitHub&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
531
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> link: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://github.com/YunYouJun&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
532
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-github-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
533
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#6e5494&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
534
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
535
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ]</span></span>
536
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><h3 lang="zh-CN" id="赞助" tabindex="-1"${_scopeId}>赞助 `);
537
- _push2(ssrRenderComponent(_component_AppLink, {
538
- class: "header-anchor",
539
- href: "#赞助",
540
- "aria-label": 'Permalink to "赞助 {lang="zh-CN"}"'
541
- }, {
542
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
543
- if (_push3) {
544
- _push3(`​`);
545
- } else {
546
- return [
547
- createTextVNode("​")
548
- ];
549
- }
550
- }),
551
- _: 1
552
- /* STABLE */
553
- }, _parent2, _scopeId));
554
- _push2(`</h3><h3 lang="en" id="sponsor" tabindex="-1"${_scopeId}>Sponsor `);
555
- _push2(ssrRenderComponent(_component_AppLink, {
556
- class: "header-anchor",
557
- href: "#sponsor",
558
- "aria-label": 'Permalink to "Sponsor {lang="en"}"'
559
- }, {
560
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
561
- if (_push3) {
562
- _push3(`​`);
563
- } else {
564
- return [
565
- createTextVNode("​")
566
- ];
567
- }
568
- }),
569
- _: 1
570
- /* STABLE */
571
- }, _parent2, _scopeId));
572
- _push2(`</h3><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>在每篇文章末尾,展示赞助(打赏)信息。</p></blockquote><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
573
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
574
- <span class="line"${_scopeId}></span>
575
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
576
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> sponsor: {</span></span>
577
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
578
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> methods: [</span></span>
579
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
580
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;支付宝&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
581
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
582
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
583
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
584
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
585
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
586
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;微信支付&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
587
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
588
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#2DC100&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
589
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-wechat-pay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
590
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
591
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
592
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
593
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
594
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
595
- <span class="line"${_scopeId}></span>
596
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
597
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> sponsor: {</span></span>
598
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
599
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> methods: [</span></span>
600
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
601
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;支付宝&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
602
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
603
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
604
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
605
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
606
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
607
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;微信支付&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
608
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
609
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#2DC100&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
610
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-wechat-pay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
611
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
612
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
613
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
614
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><p${_scopeId}>你可以通过 <code${_scopeId}>sponsor</code> 属性控制全局是否开启。</p></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>At the end of each post, show sponsor information.</p></blockquote><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
615
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
616
- <span class="line"${_scopeId}></span>
617
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
618
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> sponsor: {</span></span>
619
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
620
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> methods: [</span></span>
621
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
622
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;Alipay&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
623
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
624
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
625
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
626
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
627
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
628
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;WeChat Pay&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
629
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
630
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;#2DC100&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
631
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;i-ri-wechat-pay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
632
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
633
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> ],</span></span>
634
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
635
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
636
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
637
- <span class="line"${_scopeId}></span>
638
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
639
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> sponsor: {</span></span>
640
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
641
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> methods: [</span></span>
642
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
643
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;Alipay&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
644
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
645
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#00A3EE&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
646
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-alipay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
647
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
648
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
649
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> name: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;WeChat Pay&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
650
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> url: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
651
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> color: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;#2DC100&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
652
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> icon: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;i-ri-wechat-pay-line&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
653
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
654
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> ],</span></span>
655
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
656
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><p${_scopeId}>You can use the <code${_scopeId}>sponsor</code> property to globally toggle if it&#39;s shown.</p></div><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>SponsorOption</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
657
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>enable</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>boolean</span></span>
658
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>title</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
659
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>methods</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> {</span></span>
660
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
661
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>url</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
662
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
663
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>string</span></span>
664
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }[]</span></span>
665
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>}</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>interface</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>SponsorOption</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
666
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>enable</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>boolean</span></span>
667
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>title</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
668
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>methods</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> {</span></span>
669
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>name</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
670
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>url</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
671
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>color</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
672
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>icon</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>string</span></span>
673
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }[]</span></span>
674
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}</span></span></code></pre></div><div lang="zh-CN"${_scopeId}><p${_scopeId}>或为某篇文章的 Front Matter 单独设置:</p></div><div lang="en"${_scopeId}><p${_scopeId}>Or you can set for each post using front matter:</p></div><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>---</span></span>
675
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>title</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>xxx</span></span>
676
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>sponsor</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>false</span></span>
677
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>---</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>---</span></span>
678
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>title</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>xxx</span></span>
679
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>sponsor</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>false</span></span>
680
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>---</span></span></code></pre></div><h3 id="阅读统计" tabindex="-1"${_scopeId}>阅读统计 `);
681
- _push2(ssrRenderComponent(_component_AppLink, {
682
- class: "header-anchor",
683
- href: "#阅读统计",
684
- "aria-label": 'Permalink to "阅读统计"'
685
- }, {
686
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
687
- if (_push3) {
688
- _push3(`​`);
689
- } else {
690
- return [
691
- createTextVNode("​")
692
- ];
693
- }
694
- }),
695
- _: 1
696
- /* STABLE */
697
- }, _parent2, _scopeId));
698
- _push2(`</h3><p${_scopeId}>开启阅读统计,将会在每篇文章开头展示阅读统计信息。</p><blockquote${_scopeId}><p${_scopeId}>需要主题进行适配,即展示 <code${_scopeId}>frontmatter</code> 中的 <code${_scopeId}>wordCount</code> 和 <code${_scopeId}>readingTime</code> 字段。</p></blockquote><ul${_scopeId}><li${_scopeId}><code${_scopeId}>wordCount</code>:字数统计</li><li${_scopeId}><code${_scopeId}>readingTime</code>:阅读时长(分钟) <ul${_scopeId}><li${_scopeId}>可以设置不同语言的阅读速度,默认 <code${_scopeId}>cn</code> 为 300 字/分钟,<code${_scopeId}>en</code> 为 200 字/分钟。</li></ul></li></ul><div class="language-ts"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>ts</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
699
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
700
- <span class="line"${_scopeId}></span>
701
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>({</span></span>
702
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
703
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 开启阅读统计</span></span>
704
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
705
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> statistics: {</span></span>
706
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
707
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> readTime: {</span></span>
708
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
709
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 阅读速度</span></span>
710
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
711
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> speed: {</span></span>
712
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> cn: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>300</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
713
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> en: </span><span style="${ssrRenderStyle({ "color": "#79B8FF" })}"${_scopeId}>200</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>,</span></span>
714
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
715
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> },</span></span>
716
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> }</span></span>
717
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>})</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// site.config.ts</span></span>
718
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { defineSiteConfig } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;valaxy&#39;</span></span>
719
- <span class="line"${_scopeId}></span>
720
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>export</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>default</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineSiteConfig</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>({</span></span>
721
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
722
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 开启阅读统计</span></span>
723
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
724
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> statistics: {</span></span>
725
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> enable: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>true</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
726
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> readTime: {</span></span>
727
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>/**</span></span>
728
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> * 阅读速度</span></span>
729
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}> */</span></span>
730
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> speed: {</span></span>
731
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> cn: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>300</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
732
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> en: </span><span style="${ssrRenderStyle({ "color": "#005CC5" })}"${_scopeId}>200</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>,</span></span>
733
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
734
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> },</span></span>
735
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> }</span></span>
736
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>})</span></span></code></pre></div><h2 lang="zh-CN" id="主题配置" tabindex="-1"${_scopeId}>主题配置 `);
737
- _push2(ssrRenderComponent(_component_AppLink, {
738
- class: "header-anchor",
739
- href: "#主题配置",
740
- "aria-label": 'Permalink to "主题配置 {lang="zh-CN"}"'
741
- }, {
742
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
743
- if (_push3) {
744
- _push3(`​`);
745
- } else {
746
- return [
747
- createTextVNode("​")
748
- ];
749
- }
750
- }),
751
- _: 1
752
- /* STABLE */
753
- }, _parent2, _scopeId));
754
- _push2(`</h2><h2 lang="en" id="theme-config" tabindex="-1"${_scopeId}>Theme Config `);
755
- _push2(ssrRenderComponent(_component_AppLink, {
756
- class: "header-anchor",
757
- href: "#theme-config",
758
- "aria-label": 'Permalink to "Theme Config {lang="en"}"'
759
- }, {
760
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
761
- if (_push3) {
762
- _push3(`​`);
763
- } else {
764
- return [
765
- createTextVNode("​")
766
- ];
767
- }
768
- }),
769
- _: 1
770
- /* STABLE */
771
- }, _parent2, _scopeId));
772
- _push2(`</h2><div lang="zh-CN"${_scopeId}><p${_scopeId}>参照 `);
773
- _push2(ssrRenderComponent(_component_AppLink, { href: "/themes/use" }, {
774
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
775
- if (_push3) {
776
- _push3(`使用主题`);
777
- } else {
778
- return [
779
- createTextVNode("使用主题")
780
- ];
781
- }
782
- }),
783
- _: 1
784
- /* STABLE */
785
- }, _parent2, _scopeId));
786
- _push2(` 及您所使用的主题文档进行配置。</p></div><div lang="en"${_scopeId}><p${_scopeId}>Please refer to `);
787
- _push2(ssrRenderComponent(_component_AppLink, { href: "/themes/use" }, {
788
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
789
- if (_push3) {
790
- _push3(`Using Themes`);
791
- } else {
792
- return [
793
- createTextVNode("Using Themes")
794
- ];
795
- }
796
- }),
797
- _: 1
798
- /* STABLE */
799
- }, _parent2, _scopeId));
800
- _push2(` and the theme you are using to configure it.</p></div>`);
801
- } else {
802
- return [
803
- createVNode("h2", {
804
- lang: "zh-CN",
805
- id: "配置说明",
806
- tabindex: "-1"
807
- }, [
808
- createTextVNode("配置说明 "),
809
- createVNode(_component_AppLink, {
810
- class: "header-anchor",
811
- href: "#配置说明",
812
- "aria-label": 'Permalink to "配置说明 {lang="zh-CN"}"'
813
- }, {
814
- default: withCtx(() => [
815
- createTextVNode("​")
816
- ]),
817
- _: 1
818
- /* STABLE */
819
- })
820
- ]),
821
- createVNode("h2", {
822
- lang: "en",
823
- id: "configurations",
824
- tabindex: "-1"
825
- }, [
826
- createTextVNode("Configurations "),
827
- createVNode(_component_AppLink, {
828
- class: "header-anchor",
829
- href: "#configurations",
830
- "aria-label": 'Permalink to "Configurations {lang="en"}"'
831
- }, {
832
- default: withCtx(() => [
833
- createTextVNode("​")
834
- ]),
835
- _: 1
836
- /* STABLE */
837
- })
838
- ]),
839
- createVNode("div", { lang: "zh-CN" }, [
840
- createVNode("p", null, "为了便于配置,Valaxy 将配置分为了三种。"),
841
- createVNode("p", null, [
842
- createVNode("code", null, "valaxy.config.ts"),
843
- createTextVNode(" 是配置的主入口,它包含了一下配置。")
844
- ]),
845
- createVNode("ul", null, [
846
- createVNode("li", null, [
847
- createVNode("code", null, "siteConfig"),
848
- createTextVNode(": 站点"),
849
- createVNode("strong", null, "信息"),
850
- createTextVNode("配置,这部分内容面向站点展示且在任何主题也是通用的格式")
851
- ]),
852
- createVNode("li", null, [
853
- createVNode("code", null, "themeConfig"),
854
- createTextVNode(": 主题配置,这部分内容仅在特定主题生效")
855
- ]),
856
- createVNode("li", null, [
857
- createVNode("code", null, "runtimeConfig"),
858
- createTextVNode(": 运行时的配置(由 Valaxy 自动生成),用户无需配置")
859
- ]),
860
- createVNode("li", null, [
861
- createTextVNode("其他 Valaxy 通用配置内容(如需要在 Node 端处理的配置 "),
862
- createVNode("code", null, "unocss"),
863
- createTextVNode("/"),
864
- createVNode("code", null, "addons"),
865
- createTextVNode(")")
866
- ])
867
- ]),
868
- createVNode("p", null, "譬如:")
869
- ]),
870
- createVNode("div", { lang: "en" }, [
871
- createVNode("p", null, "To simplify config, Valaxy divided the configuration into 3."),
872
- createVNode("p", null, [
873
- createVNode("code", null, "valaxy.config.ts"),
874
- createTextVNode(" is the main entry of configuration.")
875
- ]),
876
- createVNode("ul", null, [
877
- createVNode("li", null, [
878
- createVNode("code", null, "siteConfig"),
879
- createTextVNode(": Site "),
880
- createVNode("strong", null, "info"),
881
- createTextVNode(" config. This affects info displayed on the site, and is independent of themes.")
882
- ]),
883
- createVNode("li", null, [
884
- createVNode("code", null, "themeConfig"),
885
- createTextVNode(": Theme config. This part is effective only when the specific theme is in use.")
886
- ]),
887
- createVNode("li", null, [
888
- createVNode("code", null, "runtimeConfig"),
889
- createTextVNode(": Runtime config (generated by Valaxy). You don't need to modify the config.")
890
- ]),
891
- createVNode("li", null, "Other general Valaxy config (e.g., config that's needed for Node)")
892
- ]),
893
- createVNode("p", null, "For example:")
894
- ]),
895
- createVNode("div", { class: "language-ts" }, [
896
- createVNode("button", {
897
- title: "Copy Code",
898
- class: "copy"
899
- }),
900
- createVNode("span", { class: "lang" }, "ts"),
901
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
902
- createVNode("code", null, [
903
- createVNode("span", { class: "line" }, [
904
- createVNode("span", { style: { "color": "#6A737D" } }, "// valaxy.config.ts")
905
- ]),
906
- createTextVNode("\n"),
907
- createVNode("span", { class: "line" }, [
908
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
909
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineValaxyConfig } "),
910
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
911
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
912
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
913
- ]),
914
- createTextVNode("\n"),
915
- createVNode("span", { class: "line" }, [
916
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
917
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
918
- createVNode("span", { style: { "color": "#F97583" } }, "type"),
919
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { ThemeConfig } "),
920
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
921
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
922
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun'")
923
- ]),
924
- createTextVNode("\n"),
925
- createVNode("span", { class: "line" }, [
926
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
927
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { addonComponents } "),
928
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
929
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
930
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-addon-components'")
931
- ]),
932
- createTextVNode("\n"),
933
- createVNode("span", { class: "line" }, [
934
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
935
- createVNode("span", { style: { "color": "#E1E4E8" } }, " Inspect "),
936
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
937
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
938
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'vite-plugin-inspect'")
939
- ]),
940
- createTextVNode("\n"),
941
- createVNode("span", { class: "line" }),
942
- createTextVNode("\n"),
943
- createVNode("span", { class: "line" }, [
944
- createVNode("span", { style: { "color": "#F97583" } }, "const"),
945
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
946
- createVNode("span", { style: { "color": "#79B8FF" } }, "safelist"),
947
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
948
- createVNode("span", { style: { "color": "#F97583" } }, "="),
949
- createVNode("span", { style: { "color": "#E1E4E8" } }, " [")
950
- ]),
951
- createTextVNode("\n"),
952
- createVNode("span", { class: "line" }, [
953
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
954
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-home-line'"),
955
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
956
- ]),
957
- createTextVNode("\n"),
958
- createVNode("span", { class: "line" }, [
959
- createVNode("span", { style: { "color": "#E1E4E8" } }, "]")
960
- ]),
961
- createTextVNode("\n"),
962
- createVNode("span", { class: "line" }),
963
- createTextVNode("\n"),
964
- createVNode("span", { class: "line" }, [
965
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
966
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
967
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
968
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
969
- createVNode("span", { style: { "color": "#B392F0" } }, "defineValaxyConfig"),
970
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
971
- createVNode("span", { style: { "color": "#B392F0" } }, "ThemeConfig"),
972
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">({")
973
- ]),
974
- createTextVNode("\n"),
975
- createVNode("span", { class: "line" }, [
976
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
977
- createVNode("span", { style: { "color": "#6A737D" } }, "// site config see site.config.ts or write in siteConfig")
978
- ]),
979
- createTextVNode("\n"),
980
- createVNode("span", { class: "line" }, [
981
- createVNode("span", { style: { "color": "#E1E4E8" } }, " siteConfig: {},")
982
- ]),
983
- createTextVNode("\n"),
984
- createVNode("span", { class: "line" }),
985
- createTextVNode("\n"),
986
- createVNode("span", { class: "line" }, [
987
- createVNode("span", { style: { "color": "#E1E4E8" } }, " theme: "),
988
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'yun'"),
989
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
990
- ]),
991
- createTextVNode("\n"),
992
- createVNode("span", { class: "line" }, [
993
- createVNode("span", { style: { "color": "#E1E4E8" } }, " themeConfig: {")
994
- ]),
995
- createTextVNode("\n"),
996
- createVNode("span", { class: "line" }, [
997
- createVNode("span", { style: { "color": "#E1E4E8" } }, " banner: {")
998
- ]),
999
- createTextVNode("\n"),
1000
- createVNode("span", { class: "line" }, [
1001
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
1002
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
1003
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1004
- ]),
1005
- createTextVNode("\n"),
1006
- createVNode("span", { class: "line" }, [
1007
- createVNode("span", { style: { "color": "#E1E4E8" } }, " title: "),
1008
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'云游君的小站'"),
1009
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1010
- ]),
1011
- createTextVNode("\n"),
1012
- createVNode("span", { class: "line" }, [
1013
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1014
- ]),
1015
- createTextVNode("\n"),
1016
- createVNode("span", { class: "line" }, [
1017
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1018
- ]),
1019
- createTextVNode("\n"),
1020
- createVNode("span", { class: "line" }),
1021
- createTextVNode("\n"),
1022
- createVNode("span", { class: "line" }, [
1023
- createVNode("span", { style: { "color": "#E1E4E8" } }, " vite: {")
1024
- ]),
1025
- createTextVNode("\n"),
1026
- createVNode("span", { class: "line" }, [
1027
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1028
- createVNode("span", { style: { "color": "#6A737D" } }, "// https://github.com/antfu/vite-plugin-inspect")
1029
- ]),
1030
- createTextVNode("\n"),
1031
- createVNode("span", { class: "line" }, [
1032
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1033
- createVNode("span", { style: { "color": "#6A737D" } }, "// Visit http://localhost:3333/__inspect/ to see the inspector")
1034
- ]),
1035
- createTextVNode("\n"),
1036
- createVNode("span", { class: "line" }, [
1037
- createVNode("span", { style: { "color": "#E1E4E8" } }, " plugins: ["),
1038
- createVNode("span", { style: { "color": "#B392F0" } }, "Inspect"),
1039
- createVNode("span", { style: { "color": "#E1E4E8" } }, "()],")
1040
- ]),
1041
- createTextVNode("\n"),
1042
- createVNode("span", { class: "line" }, [
1043
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1044
- ]),
1045
- createTextVNode("\n"),
1046
- createVNode("span", { class: "line" }),
1047
- createTextVNode("\n"),
1048
- createVNode("span", { class: "line" }, [
1049
- createVNode("span", { style: { "color": "#E1E4E8" } }, " unocss: {")
1050
- ]),
1051
- createTextVNode("\n"),
1052
- createVNode("span", { class: "line" }, [
1053
- createVNode("span", { style: { "color": "#E1E4E8" } }, " safelist,")
1054
- ]),
1055
- createTextVNode("\n"),
1056
- createVNode("span", { class: "line" }, [
1057
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1058
- ]),
1059
- createTextVNode("\n"),
1060
- createVNode("span", { class: "line" }),
1061
- createTextVNode("\n"),
1062
- createVNode("span", { class: "line" }, [
1063
- createVNode("span", { style: { "color": "#E1E4E8" } }, " addons: [")
1064
- ]),
1065
- createTextVNode("\n"),
1066
- createVNode("span", { class: "line" }, [
1067
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1068
- createVNode("span", { style: { "color": "#B392F0" } }, "addonComponents"),
1069
- createVNode("span", { style: { "color": "#E1E4E8" } }, "()")
1070
- ]),
1071
- createTextVNode("\n"),
1072
- createVNode("span", { class: "line" }, [
1073
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
1074
- ]),
1075
- createTextVNode("\n"),
1076
- createVNode("span", { class: "line" }, [
1077
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
1078
- ])
1079
- ])
1080
- ]),
1081
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1082
- createVNode("code", null, [
1083
- createVNode("span", { class: "line" }, [
1084
- createVNode("span", { style: { "color": "#6A737D" } }, "// valaxy.config.ts")
1085
- ]),
1086
- createTextVNode("\n"),
1087
- createVNode("span", { class: "line" }, [
1088
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1089
- createVNode("span", { style: { "color": "#24292E" } }, " { defineValaxyConfig } "),
1090
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1091
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1092
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
1093
- ]),
1094
- createTextVNode("\n"),
1095
- createVNode("span", { class: "line" }, [
1096
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1097
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1098
- createVNode("span", { style: { "color": "#D73A49" } }, "type"),
1099
- createVNode("span", { style: { "color": "#24292E" } }, " { ThemeConfig } "),
1100
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1101
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1102
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun'")
1103
- ]),
1104
- createTextVNode("\n"),
1105
- createVNode("span", { class: "line" }, [
1106
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1107
- createVNode("span", { style: { "color": "#24292E" } }, " { addonComponents } "),
1108
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1109
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1110
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-addon-components'")
1111
- ]),
1112
- createTextVNode("\n"),
1113
- createVNode("span", { class: "line" }, [
1114
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1115
- createVNode("span", { style: { "color": "#24292E" } }, " Inspect "),
1116
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1117
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1118
- createVNode("span", { style: { "color": "#032F62" } }, "'vite-plugin-inspect'")
1119
- ]),
1120
- createTextVNode("\n"),
1121
- createVNode("span", { class: "line" }),
1122
- createTextVNode("\n"),
1123
- createVNode("span", { class: "line" }, [
1124
- createVNode("span", { style: { "color": "#D73A49" } }, "const"),
1125
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1126
- createVNode("span", { style: { "color": "#005CC5" } }, "safelist"),
1127
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1128
- createVNode("span", { style: { "color": "#D73A49" } }, "="),
1129
- createVNode("span", { style: { "color": "#24292E" } }, " [")
1130
- ]),
1131
- createTextVNode("\n"),
1132
- createVNode("span", { class: "line" }, [
1133
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1134
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-home-line'"),
1135
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1136
- ]),
1137
- createTextVNode("\n"),
1138
- createVNode("span", { class: "line" }, [
1139
- createVNode("span", { style: { "color": "#24292E" } }, "]")
1140
- ]),
1141
- createTextVNode("\n"),
1142
- createVNode("span", { class: "line" }),
1143
- createTextVNode("\n"),
1144
- createVNode("span", { class: "line" }, [
1145
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
1146
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1147
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
1148
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1149
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineValaxyConfig"),
1150
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1151
- createVNode("span", { style: { "color": "#6F42C1" } }, "ThemeConfig"),
1152
- createVNode("span", { style: { "color": "#24292E" } }, ">({")
1153
- ]),
1154
- createTextVNode("\n"),
1155
- createVNode("span", { class: "line" }, [
1156
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1157
- createVNode("span", { style: { "color": "#6A737D" } }, "// site config see site.config.ts or write in siteConfig")
1158
- ]),
1159
- createTextVNode("\n"),
1160
- createVNode("span", { class: "line" }, [
1161
- createVNode("span", { style: { "color": "#24292E" } }, " siteConfig: {},")
1162
- ]),
1163
- createTextVNode("\n"),
1164
- createVNode("span", { class: "line" }),
1165
- createTextVNode("\n"),
1166
- createVNode("span", { class: "line" }, [
1167
- createVNode("span", { style: { "color": "#24292E" } }, " theme: "),
1168
- createVNode("span", { style: { "color": "#032F62" } }, "'yun'"),
1169
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1170
- ]),
1171
- createTextVNode("\n"),
1172
- createVNode("span", { class: "line" }, [
1173
- createVNode("span", { style: { "color": "#24292E" } }, " themeConfig: {")
1174
- ]),
1175
- createTextVNode("\n"),
1176
- createVNode("span", { class: "line" }, [
1177
- createVNode("span", { style: { "color": "#24292E" } }, " banner: {")
1178
- ]),
1179
- createTextVNode("\n"),
1180
- createVNode("span", { class: "line" }, [
1181
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
1182
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
1183
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1184
- ]),
1185
- createTextVNode("\n"),
1186
- createVNode("span", { class: "line" }, [
1187
- createVNode("span", { style: { "color": "#24292E" } }, " title: "),
1188
- createVNode("span", { style: { "color": "#032F62" } }, "'云游君的小站'"),
1189
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1190
- ]),
1191
- createTextVNode("\n"),
1192
- createVNode("span", { class: "line" }, [
1193
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1194
- ]),
1195
- createTextVNode("\n"),
1196
- createVNode("span", { class: "line" }, [
1197
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1198
- ]),
1199
- createTextVNode("\n"),
1200
- createVNode("span", { class: "line" }),
1201
- createTextVNode("\n"),
1202
- createVNode("span", { class: "line" }, [
1203
- createVNode("span", { style: { "color": "#24292E" } }, " vite: {")
1204
- ]),
1205
- createTextVNode("\n"),
1206
- createVNode("span", { class: "line" }, [
1207
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1208
- createVNode("span", { style: { "color": "#6A737D" } }, "// https://github.com/antfu/vite-plugin-inspect")
1209
- ]),
1210
- createTextVNode("\n"),
1211
- createVNode("span", { class: "line" }, [
1212
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1213
- createVNode("span", { style: { "color": "#6A737D" } }, "// Visit http://localhost:3333/__inspect/ to see the inspector")
1214
- ]),
1215
- createTextVNode("\n"),
1216
- createVNode("span", { class: "line" }, [
1217
- createVNode("span", { style: { "color": "#24292E" } }, " plugins: ["),
1218
- createVNode("span", { style: { "color": "#6F42C1" } }, "Inspect"),
1219
- createVNode("span", { style: { "color": "#24292E" } }, "()],")
1220
- ]),
1221
- createTextVNode("\n"),
1222
- createVNode("span", { class: "line" }, [
1223
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1224
- ]),
1225
- createTextVNode("\n"),
1226
- createVNode("span", { class: "line" }),
1227
- createTextVNode("\n"),
1228
- createVNode("span", { class: "line" }, [
1229
- createVNode("span", { style: { "color": "#24292E" } }, " unocss: {")
1230
- ]),
1231
- createTextVNode("\n"),
1232
- createVNode("span", { class: "line" }, [
1233
- createVNode("span", { style: { "color": "#24292E" } }, " safelist,")
1234
- ]),
1235
- createTextVNode("\n"),
1236
- createVNode("span", { class: "line" }, [
1237
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1238
- ]),
1239
- createTextVNode("\n"),
1240
- createVNode("span", { class: "line" }),
1241
- createTextVNode("\n"),
1242
- createVNode("span", { class: "line" }, [
1243
- createVNode("span", { style: { "color": "#24292E" } }, " addons: [")
1244
- ]),
1245
- createTextVNode("\n"),
1246
- createVNode("span", { class: "line" }, [
1247
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1248
- createVNode("span", { style: { "color": "#6F42C1" } }, "addonComponents"),
1249
- createVNode("span", { style: { "color": "#24292E" } }, "()")
1250
- ]),
1251
- createTextVNode("\n"),
1252
- createVNode("span", { class: "line" }, [
1253
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
1254
- ]),
1255
- createTextVNode("\n"),
1256
- createVNode("span", { class: "line" }, [
1257
- createVNode("span", { style: { "color": "#24292E" } }, "})")
1258
- ])
1259
- ])
1260
- ])
1261
- ]),
1262
- createVNode("h2", {
1263
- lang: "zh-CN",
1264
- id: "站点配置",
1265
- tabindex: "-1"
1266
- }, [
1267
- createTextVNode("站点配置 "),
1268
- createVNode(_component_AppLink, {
1269
- class: "header-anchor",
1270
- href: "#站点配置",
1271
- "aria-label": 'Permalink to "站点配置 {lang="zh-CN"}"'
1272
- }, {
1273
- default: withCtx(() => [
1274
- createTextVNode("​")
1275
- ]),
1276
- _: 1
1277
- /* STABLE */
1278
- })
1279
- ]),
1280
- createVNode("h2", {
1281
- lang: "en",
1282
- id: "site-config",
1283
- tabindex: "-1"
1284
- }, [
1285
- createTextVNode("Site Config "),
1286
- createVNode(_component_AppLink, {
1287
- class: "header-anchor",
1288
- href: "#site-config",
1289
- "aria-label": 'Permalink to "Site Config {lang="en"}"'
1290
- }, {
1291
- default: withCtx(() => [
1292
- createTextVNode("​")
1293
- ]),
1294
- _: 1
1295
- /* STABLE */
1296
- })
1297
- ]),
1298
- createVNode("blockquote", null, [
1299
- createVNode("p", null, [
1300
- createTextVNode("更多详细配置可参见 "),
1301
- createVNode(_component_AppLink, {
1302
- href: "https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/config.ts",
1303
- target: "_blank",
1304
- rel: "noreferrer"
1305
- }, {
1306
- default: withCtx(() => [
1307
- createTextVNode("types/config.ts")
1308
- ]),
1309
- _: 1
1310
- /* STABLE */
1311
- }),
1312
- createTextVNode("。")
1313
- ])
1314
- ]),
1315
- createVNode("div", { lang: "zh-CN" }, [
1316
- createVNode("p", null, [
1317
- createTextVNode("站点"),
1318
- createVNode("strong", null, "信息"),
1319
- createTextVNode("配置,这部分内容面向站点展示且在任何主题也是通用的格式。")
1320
- ]),
1321
- createVNode("p", null, [
1322
- createTextVNode("你也可以将其写在 "),
1323
- createVNode("code", null, "site.config.ts"),
1324
- createTextVNode(" 中。")
1325
- ]),
1326
- createVNode("p", null, "譬如:"),
1327
- createVNode("div", { class: "language-ts" }, [
1328
- createVNode("button", {
1329
- title: "Copy Code",
1330
- class: "copy"
1331
- }),
1332
- createVNode("span", { class: "lang" }, "ts"),
1333
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1334
- createVNode("code", null, [
1335
- createVNode("span", { class: "line" }, [
1336
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
1337
- ]),
1338
- createTextVNode("\n"),
1339
- createVNode("span", { class: "line" }, [
1340
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1341
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
1342
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1343
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1344
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1345
- ]),
1346
- createTextVNode("\n"),
1347
- createVNode("span", { class: "line" }),
1348
- createTextVNode("\n"),
1349
- createVNode("span", { class: "line" }, [
1350
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
1351
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1352
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
1353
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1354
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
1355
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
1356
- ]),
1357
- createTextVNode("\n"),
1358
- createVNode("span", { class: "line" }, [
1359
- createVNode("span", { style: { "color": "#E1E4E8" } }, " lang: "),
1360
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'zh-CN'"),
1361
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1362
- ]),
1363
- createTextVNode("\n"),
1364
- createVNode("span", { class: "line" }, [
1365
- createVNode("span", { style: { "color": "#E1E4E8" } }, " title: "),
1366
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Valaxy Theme Yun'"),
1367
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1368
- ]),
1369
- createTextVNode("\n"),
1370
- createVNode("span", { class: "line" }, [
1371
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
1372
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://valaxy.site/'"),
1373
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1374
- ]),
1375
- createTextVNode("\n"),
1376
- createVNode("span", { class: "line" }, [
1377
- createVNode("span", { style: { "color": "#E1E4E8" } }, " author: {")
1378
- ]),
1379
- createTextVNode("\n"),
1380
- createVNode("span", { class: "line" }, [
1381
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1382
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'云游君'"),
1383
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1384
- ]),
1385
- createTextVNode("\n"),
1386
- createVNode("span", { class: "line" }, [
1387
- createVNode("span", { style: { "color": "#E1E4E8" } }, " avatar: "),
1388
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://www.yunyoujun.cn/images/avatar.jpg'"),
1389
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1390
- ]),
1391
- createTextVNode("\n"),
1392
- createVNode("span", { class: "line" }, [
1393
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1394
- ]),
1395
- createTextVNode("\n"),
1396
- createVNode("span", { class: "line" }, [
1397
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1398
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1399
- ]),
1400
- createTextVNode("\n"),
1401
- createVNode("span", { class: "line" }, [
1402
- createVNode("span", { style: { "color": "#6A737D" } }, " * 站点图标")
1403
- ]),
1404
- createTextVNode("\n"),
1405
- createVNode("span", { class: "line" }, [
1406
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1407
- ]),
1408
- createTextVNode("\n"),
1409
- createVNode("span", { class: "line" }, [
1410
- createVNode("span", { style: { "color": "#E1E4E8" } }, " favicon: "),
1411
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://www.yunyoujun.cn/favicon.svg'"),
1412
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1413
- ]),
1414
- createTextVNode("\n"),
1415
- createVNode("span", { class: "line" }, [
1416
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1417
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1418
- ]),
1419
- createTextVNode("\n"),
1420
- createVNode("span", { class: "line" }, [
1421
- createVNode("span", { style: { "color": "#6A737D" } }, " * 副标题")
1422
- ]),
1423
- createTextVNode("\n"),
1424
- createVNode("span", { class: "line" }, [
1425
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1426
- ]),
1427
- createTextVNode("\n"),
1428
- createVNode("span", { class: "line" }, [
1429
- createVNode("span", { style: { "color": "#E1E4E8" } }, " subtitle: "),
1430
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'All at sea.'"),
1431
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1432
- ]),
1433
- createTextVNode("\n"),
1434
- createVNode("span", { class: "line" }, [
1435
- createVNode("span", { style: { "color": "#E1E4E8" } }, " description: "),
1436
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Valaxy Theme Yun Preview.'"),
1437
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1438
- ]),
1439
- createTextVNode("\n"),
1440
- createVNode("span", { class: "line" }, [
1441
- createVNode("span", { style: { "color": "#E1E4E8" } }, " social: [")
1442
- ]),
1443
- createTextVNode("\n"),
1444
- createVNode("span", { class: "line" }, [
1445
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
1446
- ]),
1447
- createTextVNode("\n"),
1448
- createVNode("span", { class: "line" }, [
1449
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1450
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'RSS'"),
1451
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1452
- ]),
1453
- createTextVNode("\n"),
1454
- createVNode("span", { class: "line" }, [
1455
- createVNode("span", { style: { "color": "#E1E4E8" } }, " link: "),
1456
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'/atom.xml'"),
1457
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1458
- ]),
1459
- createTextVNode("\n"),
1460
- createVNode("span", { class: "line" }, [
1461
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
1462
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-rss-line'"),
1463
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1464
- ]),
1465
- createTextVNode("\n"),
1466
- createVNode("span", { class: "line" }, [
1467
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
1468
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'orange'"),
1469
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1470
- ]),
1471
- createTextVNode("\n"),
1472
- createVNode("span", { class: "line" }, [
1473
- createVNode("span", { style: { "color": "#E1E4E8" } }, " }")
1474
- ]),
1475
- createTextVNode("\n"),
1476
- createVNode("span", { class: "line" }, [
1477
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
1478
- ]),
1479
- createTextVNode("\n"),
1480
- createVNode("span", { class: "line" }),
1481
- createTextVNode("\n"),
1482
- createVNode("span", { class: "line" }, [
1483
- createVNode("span", { style: { "color": "#E1E4E8" } }, " sponsor: {")
1484
- ]),
1485
- createTextVNode("\n"),
1486
- createVNode("span", { class: "line" }, [
1487
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
1488
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
1489
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1490
- ]),
1491
- createTextVNode("\n"),
1492
- createVNode("span", { class: "line" }, [
1493
- createVNode("span", { style: { "color": "#E1E4E8" } }, " methods: [")
1494
- ]),
1495
- createTextVNode("\n"),
1496
- createVNode("span", { class: "line" }, [
1497
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
1498
- ]),
1499
- createTextVNode("\n"),
1500
- createVNode("span", { class: "line" }, [
1501
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1502
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'支付宝'"),
1503
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1504
- ]),
1505
- createTextVNode("\n"),
1506
- createVNode("span", { class: "line" }, [
1507
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
1508
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
1509
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1510
- ]),
1511
- createTextVNode("\n"),
1512
- createVNode("span", { class: "line" }, [
1513
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
1514
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#00A3EE'"),
1515
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1516
- ]),
1517
- createTextVNode("\n"),
1518
- createVNode("span", { class: "line" }, [
1519
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
1520
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-alipay-line'"),
1521
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1522
- ]),
1523
- createTextVNode("\n"),
1524
- createVNode("span", { class: "line" }, [
1525
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1526
- ]),
1527
- createTextVNode("\n"),
1528
- createVNode("span", { class: "line" }, [
1529
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
1530
- ]),
1531
- createTextVNode("\n"),
1532
- createVNode("span", { class: "line" }, [
1533
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1534
- ]),
1535
- createTextVNode("\n"),
1536
- createVNode("span", { class: "line" }, [
1537
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
1538
- ])
1539
- ])
1540
- ]),
1541
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1542
- createVNode("code", null, [
1543
- createVNode("span", { class: "line" }, [
1544
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
1545
- ]),
1546
- createTextVNode("\n"),
1547
- createVNode("span", { class: "line" }, [
1548
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1549
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
1550
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1551
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1552
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
1553
- ]),
1554
- createTextVNode("\n"),
1555
- createVNode("span", { class: "line" }),
1556
- createTextVNode("\n"),
1557
- createVNode("span", { class: "line" }, [
1558
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
1559
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1560
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
1561
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1562
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
1563
- createVNode("span", { style: { "color": "#24292E" } }, "({")
1564
- ]),
1565
- createTextVNode("\n"),
1566
- createVNode("span", { class: "line" }, [
1567
- createVNode("span", { style: { "color": "#24292E" } }, " lang: "),
1568
- createVNode("span", { style: { "color": "#032F62" } }, "'zh-CN'"),
1569
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1570
- ]),
1571
- createTextVNode("\n"),
1572
- createVNode("span", { class: "line" }, [
1573
- createVNode("span", { style: { "color": "#24292E" } }, " title: "),
1574
- createVNode("span", { style: { "color": "#032F62" } }, "'Valaxy Theme Yun'"),
1575
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1576
- ]),
1577
- createTextVNode("\n"),
1578
- createVNode("span", { class: "line" }, [
1579
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
1580
- createVNode("span", { style: { "color": "#032F62" } }, "'https://valaxy.site/'"),
1581
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1582
- ]),
1583
- createTextVNode("\n"),
1584
- createVNode("span", { class: "line" }, [
1585
- createVNode("span", { style: { "color": "#24292E" } }, " author: {")
1586
- ]),
1587
- createTextVNode("\n"),
1588
- createVNode("span", { class: "line" }, [
1589
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
1590
- createVNode("span", { style: { "color": "#032F62" } }, "'云游君'"),
1591
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1592
- ]),
1593
- createTextVNode("\n"),
1594
- createVNode("span", { class: "line" }, [
1595
- createVNode("span", { style: { "color": "#24292E" } }, " avatar: "),
1596
- createVNode("span", { style: { "color": "#032F62" } }, "'https://www.yunyoujun.cn/images/avatar.jpg'"),
1597
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1598
- ]),
1599
- createTextVNode("\n"),
1600
- createVNode("span", { class: "line" }, [
1601
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1602
- ]),
1603
- createTextVNode("\n"),
1604
- createVNode("span", { class: "line" }, [
1605
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1606
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1607
- ]),
1608
- createTextVNode("\n"),
1609
- createVNode("span", { class: "line" }, [
1610
- createVNode("span", { style: { "color": "#6A737D" } }, " * 站点图标")
1611
- ]),
1612
- createTextVNode("\n"),
1613
- createVNode("span", { class: "line" }, [
1614
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1615
- ]),
1616
- createTextVNode("\n"),
1617
- createVNode("span", { class: "line" }, [
1618
- createVNode("span", { style: { "color": "#24292E" } }, " favicon: "),
1619
- createVNode("span", { style: { "color": "#032F62" } }, "'https://www.yunyoujun.cn/favicon.svg'"),
1620
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1621
- ]),
1622
- createTextVNode("\n"),
1623
- createVNode("span", { class: "line" }, [
1624
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1625
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1626
- ]),
1627
- createTextVNode("\n"),
1628
- createVNode("span", { class: "line" }, [
1629
- createVNode("span", { style: { "color": "#6A737D" } }, " * 副标题")
1630
- ]),
1631
- createTextVNode("\n"),
1632
- createVNode("span", { class: "line" }, [
1633
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1634
- ]),
1635
- createTextVNode("\n"),
1636
- createVNode("span", { class: "line" }, [
1637
- createVNode("span", { style: { "color": "#24292E" } }, " subtitle: "),
1638
- createVNode("span", { style: { "color": "#032F62" } }, "'All at sea.'"),
1639
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1640
- ]),
1641
- createTextVNode("\n"),
1642
- createVNode("span", { class: "line" }, [
1643
- createVNode("span", { style: { "color": "#24292E" } }, " description: "),
1644
- createVNode("span", { style: { "color": "#032F62" } }, "'Valaxy Theme Yun Preview.'"),
1645
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1646
- ]),
1647
- createTextVNode("\n"),
1648
- createVNode("span", { class: "line" }, [
1649
- createVNode("span", { style: { "color": "#24292E" } }, " social: [")
1650
- ]),
1651
- createTextVNode("\n"),
1652
- createVNode("span", { class: "line" }, [
1653
- createVNode("span", { style: { "color": "#24292E" } }, " {")
1654
- ]),
1655
- createTextVNode("\n"),
1656
- createVNode("span", { class: "line" }, [
1657
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
1658
- createVNode("span", { style: { "color": "#032F62" } }, "'RSS'"),
1659
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1660
- ]),
1661
- createTextVNode("\n"),
1662
- createVNode("span", { class: "line" }, [
1663
- createVNode("span", { style: { "color": "#24292E" } }, " link: "),
1664
- createVNode("span", { style: { "color": "#032F62" } }, "'/atom.xml'"),
1665
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1666
- ]),
1667
- createTextVNode("\n"),
1668
- createVNode("span", { class: "line" }, [
1669
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
1670
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-rss-line'"),
1671
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1672
- ]),
1673
- createTextVNode("\n"),
1674
- createVNode("span", { class: "line" }, [
1675
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
1676
- createVNode("span", { style: { "color": "#032F62" } }, "'orange'"),
1677
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1678
- ]),
1679
- createTextVNode("\n"),
1680
- createVNode("span", { class: "line" }, [
1681
- createVNode("span", { style: { "color": "#24292E" } }, " }")
1682
- ]),
1683
- createTextVNode("\n"),
1684
- createVNode("span", { class: "line" }, [
1685
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
1686
- ]),
1687
- createTextVNode("\n"),
1688
- createVNode("span", { class: "line" }),
1689
- createTextVNode("\n"),
1690
- createVNode("span", { class: "line" }, [
1691
- createVNode("span", { style: { "color": "#24292E" } }, " sponsor: {")
1692
- ]),
1693
- createTextVNode("\n"),
1694
- createVNode("span", { class: "line" }, [
1695
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
1696
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
1697
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1698
- ]),
1699
- createTextVNode("\n"),
1700
- createVNode("span", { class: "line" }, [
1701
- createVNode("span", { style: { "color": "#24292E" } }, " methods: [")
1702
- ]),
1703
- createTextVNode("\n"),
1704
- createVNode("span", { class: "line" }, [
1705
- createVNode("span", { style: { "color": "#24292E" } }, " {")
1706
- ]),
1707
- createTextVNode("\n"),
1708
- createVNode("span", { class: "line" }, [
1709
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
1710
- createVNode("span", { style: { "color": "#032F62" } }, "'支付宝'"),
1711
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1712
- ]),
1713
- createTextVNode("\n"),
1714
- createVNode("span", { class: "line" }, [
1715
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
1716
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
1717
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1718
- ]),
1719
- createTextVNode("\n"),
1720
- createVNode("span", { class: "line" }, [
1721
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
1722
- createVNode("span", { style: { "color": "#032F62" } }, "'#00A3EE'"),
1723
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1724
- ]),
1725
- createTextVNode("\n"),
1726
- createVNode("span", { class: "line" }, [
1727
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
1728
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-alipay-line'"),
1729
- createVNode("span", { style: { "color": "#24292E" } }, ",")
1730
- ]),
1731
- createTextVNode("\n"),
1732
- createVNode("span", { class: "line" }, [
1733
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1734
- ]),
1735
- createTextVNode("\n"),
1736
- createVNode("span", { class: "line" }, [
1737
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
1738
- ]),
1739
- createTextVNode("\n"),
1740
- createVNode("span", { class: "line" }, [
1741
- createVNode("span", { style: { "color": "#24292E" } }, " },")
1742
- ]),
1743
- createTextVNode("\n"),
1744
- createVNode("span", { class: "line" }, [
1745
- createVNode("span", { style: { "color": "#24292E" } }, "})")
1746
- ])
1747
- ])
1748
- ])
1749
- ])
1750
- ]),
1751
- createVNode("div", { lang: "en" }, [
1752
- createVNode("p", null, [
1753
- createTextVNode("Site "),
1754
- createVNode("strong", null, "info"),
1755
- createTextVNode(" config. This affects info displayed on the site, and is independent of themes.")
1756
- ]),
1757
- createVNode("p", null, [
1758
- createTextVNode("You can also write it in "),
1759
- createVNode("code", null, "site.config.ts"),
1760
- createTextVNode(".")
1761
- ]),
1762
- createVNode("p", null, "For example:"),
1763
- createVNode("div", { class: "language-ts" }, [
1764
- createVNode("button", {
1765
- title: "Copy Code",
1766
- class: "copy"
1767
- }),
1768
- createVNode("span", { class: "lang" }, "ts"),
1769
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1770
- createVNode("code", null, [
1771
- createVNode("span", { class: "line" }, [
1772
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
1773
- ]),
1774
- createTextVNode("\n"),
1775
- createVNode("span", { class: "line" }, [
1776
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1777
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
1778
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1779
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1780
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1781
- ]),
1782
- createTextVNode("\n"),
1783
- createVNode("span", { class: "line" }),
1784
- createTextVNode("\n"),
1785
- createVNode("span", { class: "line" }, [
1786
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
1787
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1788
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
1789
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1790
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
1791
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
1792
- ]),
1793
- createTextVNode("\n"),
1794
- createVNode("span", { class: "line" }, [
1795
- createVNode("span", { style: { "color": "#E1E4E8" } }, " lang: "),
1796
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'zh-CN'"),
1797
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1798
- ]),
1799
- createTextVNode("\n"),
1800
- createVNode("span", { class: "line" }, [
1801
- createVNode("span", { style: { "color": "#E1E4E8" } }, " title: "),
1802
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Valaxy Theme Yun'"),
1803
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1804
- ]),
1805
- createTextVNode("\n"),
1806
- createVNode("span", { class: "line" }, [
1807
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
1808
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://valaxy.site/'"),
1809
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1810
- ]),
1811
- createTextVNode("\n"),
1812
- createVNode("span", { class: "line" }, [
1813
- createVNode("span", { style: { "color": "#E1E4E8" } }, " author: {")
1814
- ]),
1815
- createTextVNode("\n"),
1816
- createVNode("span", { class: "line" }, [
1817
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1818
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Yunyoujun'"),
1819
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1820
- ]),
1821
- createTextVNode("\n"),
1822
- createVNode("span", { class: "line" }, [
1823
- createVNode("span", { style: { "color": "#E1E4E8" } }, " avatar: "),
1824
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://www.yunyoujun.cn/images/avatar.jpg'"),
1825
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1826
- ]),
1827
- createTextVNode("\n"),
1828
- createVNode("span", { class: "line" }, [
1829
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1830
- ]),
1831
- createTextVNode("\n"),
1832
- createVNode("span", { class: "line" }, [
1833
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1834
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1835
- ]),
1836
- createTextVNode("\n"),
1837
- createVNode("span", { class: "line" }, [
1838
- createVNode("span", { style: { "color": "#6A737D" } }, " * Site favicon")
1839
- ]),
1840
- createTextVNode("\n"),
1841
- createVNode("span", { class: "line" }, [
1842
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1843
- ]),
1844
- createTextVNode("\n"),
1845
- createVNode("span", { class: "line" }, [
1846
- createVNode("span", { style: { "color": "#E1E4E8" } }, " favicon: "),
1847
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://www.yunyoujun.cn/favicon.svg'"),
1848
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1849
- ]),
1850
- createTextVNode("\n"),
1851
- createVNode("span", { class: "line" }, [
1852
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1853
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
1854
- ]),
1855
- createTextVNode("\n"),
1856
- createVNode("span", { class: "line" }, [
1857
- createVNode("span", { style: { "color": "#6A737D" } }, " * Subtitle")
1858
- ]),
1859
- createTextVNode("\n"),
1860
- createVNode("span", { class: "line" }, [
1861
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
1862
- ]),
1863
- createTextVNode("\n"),
1864
- createVNode("span", { class: "line" }, [
1865
- createVNode("span", { style: { "color": "#E1E4E8" } }, " subtitle: "),
1866
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'All at sea.'"),
1867
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1868
- ]),
1869
- createTextVNode("\n"),
1870
- createVNode("span", { class: "line" }, [
1871
- createVNode("span", { style: { "color": "#E1E4E8" } }, " description: "),
1872
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Valaxy Theme Yun Preview.'"),
1873
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1874
- ]),
1875
- createTextVNode("\n"),
1876
- createVNode("span", { class: "line" }, [
1877
- createVNode("span", { style: { "color": "#E1E4E8" } }, " social: [")
1878
- ]),
1879
- createTextVNode("\n"),
1880
- createVNode("span", { class: "line" }, [
1881
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
1882
- ]),
1883
- createTextVNode("\n"),
1884
- createVNode("span", { class: "line" }, [
1885
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1886
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'RSS'"),
1887
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1888
- ]),
1889
- createTextVNode("\n"),
1890
- createVNode("span", { class: "line" }, [
1891
- createVNode("span", { style: { "color": "#E1E4E8" } }, " link: "),
1892
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'/atom.xml'"),
1893
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1894
- ]),
1895
- createTextVNode("\n"),
1896
- createVNode("span", { class: "line" }, [
1897
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
1898
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-rss-line'"),
1899
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1900
- ]),
1901
- createTextVNode("\n"),
1902
- createVNode("span", { class: "line" }, [
1903
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
1904
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'orange'"),
1905
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1906
- ]),
1907
- createTextVNode("\n"),
1908
- createVNode("span", { class: "line" }, [
1909
- createVNode("span", { style: { "color": "#E1E4E8" } }, " }")
1910
- ]),
1911
- createTextVNode("\n"),
1912
- createVNode("span", { class: "line" }, [
1913
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
1914
- ]),
1915
- createTextVNode("\n"),
1916
- createVNode("span", { class: "line" }),
1917
- createTextVNode("\n"),
1918
- createVNode("span", { class: "line" }, [
1919
- createVNode("span", { style: { "color": "#E1E4E8" } }, " sponsor: {")
1920
- ]),
1921
- createTextVNode("\n"),
1922
- createVNode("span", { class: "line" }, [
1923
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
1924
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
1925
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1926
- ]),
1927
- createTextVNode("\n"),
1928
- createVNode("span", { class: "line" }, [
1929
- createVNode("span", { style: { "color": "#E1E4E8" } }, " methods: [")
1930
- ]),
1931
- createTextVNode("\n"),
1932
- createVNode("span", { class: "line" }, [
1933
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
1934
- ]),
1935
- createTextVNode("\n"),
1936
- createVNode("span", { class: "line" }, [
1937
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
1938
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Alipay'"),
1939
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1940
- ]),
1941
- createTextVNode("\n"),
1942
- createVNode("span", { class: "line" }, [
1943
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
1944
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
1945
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1946
- ]),
1947
- createTextVNode("\n"),
1948
- createVNode("span", { class: "line" }, [
1949
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
1950
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#00A3EE'"),
1951
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1952
- ]),
1953
- createTextVNode("\n"),
1954
- createVNode("span", { class: "line" }, [
1955
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
1956
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-alipay-line'"),
1957
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
1958
- ]),
1959
- createTextVNode("\n"),
1960
- createVNode("span", { class: "line" }, [
1961
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1962
- ]),
1963
- createTextVNode("\n"),
1964
- createVNode("span", { class: "line" }, [
1965
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
1966
- ]),
1967
- createTextVNode("\n"),
1968
- createVNode("span", { class: "line" }, [
1969
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
1970
- ]),
1971
- createTextVNode("\n"),
1972
- createVNode("span", { class: "line" }, [
1973
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
1974
- ])
1975
- ])
1976
- ]),
1977
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1978
- createVNode("code", null, [
1979
- createVNode("span", { class: "line" }, [
1980
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
1981
- ]),
1982
- createTextVNode("\n"),
1983
- createVNode("span", { class: "line" }, [
1984
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1985
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
1986
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1987
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1988
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
1989
- ]),
1990
- createTextVNode("\n"),
1991
- createVNode("span", { class: "line" }),
1992
- createTextVNode("\n"),
1993
- createVNode("span", { class: "line" }, [
1994
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
1995
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1996
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
1997
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1998
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
1999
- createVNode("span", { style: { "color": "#24292E" } }, "({")
2000
- ]),
2001
- createTextVNode("\n"),
2002
- createVNode("span", { class: "line" }, [
2003
- createVNode("span", { style: { "color": "#24292E" } }, " lang: "),
2004
- createVNode("span", { style: { "color": "#032F62" } }, "'zh-CN'"),
2005
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2006
- ]),
2007
- createTextVNode("\n"),
2008
- createVNode("span", { class: "line" }, [
2009
- createVNode("span", { style: { "color": "#24292E" } }, " title: "),
2010
- createVNode("span", { style: { "color": "#032F62" } }, "'Valaxy Theme Yun'"),
2011
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2012
- ]),
2013
- createTextVNode("\n"),
2014
- createVNode("span", { class: "line" }, [
2015
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
2016
- createVNode("span", { style: { "color": "#032F62" } }, "'https://valaxy.site/'"),
2017
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2018
- ]),
2019
- createTextVNode("\n"),
2020
- createVNode("span", { class: "line" }, [
2021
- createVNode("span", { style: { "color": "#24292E" } }, " author: {")
2022
- ]),
2023
- createTextVNode("\n"),
2024
- createVNode("span", { class: "line" }, [
2025
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2026
- createVNode("span", { style: { "color": "#032F62" } }, "'Yunyoujun'"),
2027
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2028
- ]),
2029
- createTextVNode("\n"),
2030
- createVNode("span", { class: "line" }, [
2031
- createVNode("span", { style: { "color": "#24292E" } }, " avatar: "),
2032
- createVNode("span", { style: { "color": "#032F62" } }, "'https://www.yunyoujun.cn/images/avatar.jpg'"),
2033
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2034
- ]),
2035
- createTextVNode("\n"),
2036
- createVNode("span", { class: "line" }, [
2037
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2038
- ]),
2039
- createTextVNode("\n"),
2040
- createVNode("span", { class: "line" }, [
2041
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2042
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2043
- ]),
2044
- createTextVNode("\n"),
2045
- createVNode("span", { class: "line" }, [
2046
- createVNode("span", { style: { "color": "#6A737D" } }, " * Site favicon")
2047
- ]),
2048
- createTextVNode("\n"),
2049
- createVNode("span", { class: "line" }, [
2050
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2051
- ]),
2052
- createTextVNode("\n"),
2053
- createVNode("span", { class: "line" }, [
2054
- createVNode("span", { style: { "color": "#24292E" } }, " favicon: "),
2055
- createVNode("span", { style: { "color": "#032F62" } }, "'https://www.yunyoujun.cn/favicon.svg'"),
2056
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2057
- ]),
2058
- createTextVNode("\n"),
2059
- createVNode("span", { class: "line" }, [
2060
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2061
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2062
- ]),
2063
- createTextVNode("\n"),
2064
- createVNode("span", { class: "line" }, [
2065
- createVNode("span", { style: { "color": "#6A737D" } }, " * Subtitle")
2066
- ]),
2067
- createTextVNode("\n"),
2068
- createVNode("span", { class: "line" }, [
2069
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2070
- ]),
2071
- createTextVNode("\n"),
2072
- createVNode("span", { class: "line" }, [
2073
- createVNode("span", { style: { "color": "#24292E" } }, " subtitle: "),
2074
- createVNode("span", { style: { "color": "#032F62" } }, "'All at sea.'"),
2075
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2076
- ]),
2077
- createTextVNode("\n"),
2078
- createVNode("span", { class: "line" }, [
2079
- createVNode("span", { style: { "color": "#24292E" } }, " description: "),
2080
- createVNode("span", { style: { "color": "#032F62" } }, "'Valaxy Theme Yun Preview.'"),
2081
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2082
- ]),
2083
- createTextVNode("\n"),
2084
- createVNode("span", { class: "line" }, [
2085
- createVNode("span", { style: { "color": "#24292E" } }, " social: [")
2086
- ]),
2087
- createTextVNode("\n"),
2088
- createVNode("span", { class: "line" }, [
2089
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2090
- ]),
2091
- createTextVNode("\n"),
2092
- createVNode("span", { class: "line" }, [
2093
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2094
- createVNode("span", { style: { "color": "#032F62" } }, "'RSS'"),
2095
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2096
- ]),
2097
- createTextVNode("\n"),
2098
- createVNode("span", { class: "line" }, [
2099
- createVNode("span", { style: { "color": "#24292E" } }, " link: "),
2100
- createVNode("span", { style: { "color": "#032F62" } }, "'/atom.xml'"),
2101
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2102
- ]),
2103
- createTextVNode("\n"),
2104
- createVNode("span", { class: "line" }, [
2105
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
2106
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-rss-line'"),
2107
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2108
- ]),
2109
- createTextVNode("\n"),
2110
- createVNode("span", { class: "line" }, [
2111
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
2112
- createVNode("span", { style: { "color": "#032F62" } }, "'orange'"),
2113
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2114
- ]),
2115
- createTextVNode("\n"),
2116
- createVNode("span", { class: "line" }, [
2117
- createVNode("span", { style: { "color": "#24292E" } }, " }")
2118
- ]),
2119
- createTextVNode("\n"),
2120
- createVNode("span", { class: "line" }, [
2121
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
2122
- ]),
2123
- createTextVNode("\n"),
2124
- createVNode("span", { class: "line" }),
2125
- createTextVNode("\n"),
2126
- createVNode("span", { class: "line" }, [
2127
- createVNode("span", { style: { "color": "#24292E" } }, " sponsor: {")
2128
- ]),
2129
- createTextVNode("\n"),
2130
- createVNode("span", { class: "line" }, [
2131
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
2132
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
2133
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2134
- ]),
2135
- createTextVNode("\n"),
2136
- createVNode("span", { class: "line" }, [
2137
- createVNode("span", { style: { "color": "#24292E" } }, " methods: [")
2138
- ]),
2139
- createTextVNode("\n"),
2140
- createVNode("span", { class: "line" }, [
2141
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2142
- ]),
2143
- createTextVNode("\n"),
2144
- createVNode("span", { class: "line" }, [
2145
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2146
- createVNode("span", { style: { "color": "#032F62" } }, "'Alipay'"),
2147
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2148
- ]),
2149
- createTextVNode("\n"),
2150
- createVNode("span", { class: "line" }, [
2151
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
2152
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
2153
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2154
- ]),
2155
- createTextVNode("\n"),
2156
- createVNode("span", { class: "line" }, [
2157
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
2158
- createVNode("span", { style: { "color": "#032F62" } }, "'#00A3EE'"),
2159
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2160
- ]),
2161
- createTextVNode("\n"),
2162
- createVNode("span", { class: "line" }, [
2163
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
2164
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-alipay-line'"),
2165
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2166
- ]),
2167
- createTextVNode("\n"),
2168
- createVNode("span", { class: "line" }, [
2169
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2170
- ]),
2171
- createTextVNode("\n"),
2172
- createVNode("span", { class: "line" }, [
2173
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
2174
- ]),
2175
- createTextVNode("\n"),
2176
- createVNode("span", { class: "line" }, [
2177
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2178
- ]),
2179
- createTextVNode("\n"),
2180
- createVNode("span", { class: "line" }, [
2181
- createVNode("span", { style: { "color": "#24292E" } }, "})")
2182
- ])
2183
- ])
2184
- ])
2185
- ])
2186
- ]),
2187
- createVNode("h3", {
2188
- id: "default-frontmatter",
2189
- tabindex: "-1"
2190
- }, [
2191
- createTextVNode("Default Frontmatter "),
2192
- createVNode(_component_AppLink, {
2193
- class: "header-anchor",
2194
- href: "#default-frontmatter",
2195
- "aria-label": 'Permalink to "Default Frontmatter"'
2196
- }, {
2197
- default: withCtx(() => [
2198
- createTextVNode("​")
2199
- ]),
2200
- _: 1
2201
- /* STABLE */
2202
- })
2203
- ]),
2204
- createVNode("p", null, "为所有文章设置默认的 Frontmatter。"),
2205
- createVNode("p", null, "譬如:"),
2206
- createVNode("blockquote", null, [
2207
- createVNode("p", null, [
2208
- createTextVNode("设置 "),
2209
- createVNode("code", null, "time_warning: false"),
2210
- createTextVNode(",则所有文章都不会显示阅读时间警告。")
2211
- ])
2212
- ]),
2213
- createVNode("div", { class: "language-ts" }, [
2214
- createVNode("button", {
2215
- title: "Copy Code",
2216
- class: "copy"
2217
- }),
2218
- createVNode("span", { class: "lang" }, "ts"),
2219
- createVNode("pre", { class: "shiki github-dark has-highlighted-lines vp-code-dark" }, [
2220
- createVNode("code", null, [
2221
- createVNode("span", { class: "line" }, [
2222
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
2223
- ]),
2224
- createTextVNode("\n"),
2225
- createVNode("span", { class: "line" }, [
2226
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
2227
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
2228
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
2229
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2230
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
2231
- ]),
2232
- createTextVNode("\n"),
2233
- createVNode("span", { class: "line" }),
2234
- createTextVNode("\n"),
2235
- createVNode("span", { class: "line" }, [
2236
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
2237
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2238
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
2239
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2240
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
2241
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
2242
- ]),
2243
- createTextVNode("\n"),
2244
- createVNode("span", { class: "line" }, [
2245
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2246
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2247
- ]),
2248
- createTextVNode("\n"),
2249
- createVNode("span", { class: "line" }, [
2250
- createVNode("span", { style: { "color": "#6A737D" } }, " * 默认 Frontmatter")
2251
- ]),
2252
- createTextVNode("\n"),
2253
- createVNode("span", { class: "line" }, [
2254
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2255
- ]),
2256
- createTextVNode("\n"),
2257
- createVNode("span", { class: "line highlighted" }, [
2258
- createVNode("span", { style: { "color": "#E1E4E8" } }, " frontmatter: {")
2259
- ]),
2260
- createTextVNode("\n"),
2261
- createVNode("span", { class: "line highlighted" }, [
2262
- createVNode("span", { style: { "color": "#E1E4E8" } }, " time_warning: "),
2263
- createVNode("span", { style: { "color": "#79B8FF" } }, "false"),
2264
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2265
- ]),
2266
- createTextVNode("\n"),
2267
- createVNode("span", { class: "line highlighted" }, [
2268
- createVNode("span", { style: { "color": "#E1E4E8" } }, " }")
2269
- ]),
2270
- createTextVNode("\n"),
2271
- createVNode("span", { class: "line" }, [
2272
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
2273
- ])
2274
- ])
2275
- ]),
2276
- createVNode("pre", { class: "shiki github-light has-highlighted-lines vp-code-light" }, [
2277
- createVNode("code", null, [
2278
- createVNode("span", { class: "line" }, [
2279
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
2280
- ]),
2281
- createTextVNode("\n"),
2282
- createVNode("span", { class: "line" }, [
2283
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
2284
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
2285
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
2286
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2287
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
2288
- ]),
2289
- createTextVNode("\n"),
2290
- createVNode("span", { class: "line" }),
2291
- createTextVNode("\n"),
2292
- createVNode("span", { class: "line" }, [
2293
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
2294
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2295
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
2296
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2297
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
2298
- createVNode("span", { style: { "color": "#24292E" } }, "({")
2299
- ]),
2300
- createTextVNode("\n"),
2301
- createVNode("span", { class: "line" }, [
2302
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2303
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2304
- ]),
2305
- createTextVNode("\n"),
2306
- createVNode("span", { class: "line" }, [
2307
- createVNode("span", { style: { "color": "#6A737D" } }, " * 默认 Frontmatter")
2308
- ]),
2309
- createTextVNode("\n"),
2310
- createVNode("span", { class: "line" }, [
2311
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2312
- ]),
2313
- createTextVNode("\n"),
2314
- createVNode("span", { class: "line highlighted" }, [
2315
- createVNode("span", { style: { "color": "#24292E" } }, " frontmatter: {")
2316
- ]),
2317
- createTextVNode("\n"),
2318
- createVNode("span", { class: "line highlighted" }, [
2319
- createVNode("span", { style: { "color": "#24292E" } }, " time_warning: "),
2320
- createVNode("span", { style: { "color": "#005CC5" } }, "false"),
2321
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2322
- ]),
2323
- createTextVNode("\n"),
2324
- createVNode("span", { class: "line highlighted" }, [
2325
- createVNode("span", { style: { "color": "#24292E" } }, " }")
2326
- ]),
2327
- createTextVNode("\n"),
2328
- createVNode("span", { class: "line" }, [
2329
- createVNode("span", { style: { "color": "#24292E" } }, "})")
2330
- ])
2331
- ])
2332
- ])
2333
- ]),
2334
- createVNode("h3", {
2335
- lang: "zh-CN",
2336
- id: "社交图标",
2337
- tabindex: "-1"
2338
- }, [
2339
- createTextVNode("社交图标 "),
2340
- createVNode(_component_AppLink, {
2341
- class: "header-anchor",
2342
- href: "#社交图标",
2343
- "aria-label": 'Permalink to "社交图标 {lang="zh-CN"}"'
2344
- }, {
2345
- default: withCtx(() => [
2346
- createTextVNode("​")
2347
- ]),
2348
- _: 1
2349
- /* STABLE */
2350
- })
2351
- ]),
2352
- createVNode("h3", {
2353
- lang: "en",
2354
- id: "social-icons",
2355
- tabindex: "-1"
2356
- }, [
2357
- createTextVNode("Social Icons "),
2358
- createVNode(_component_AppLink, {
2359
- class: "header-anchor",
2360
- href: "#social-icons",
2361
- "aria-label": 'Permalink to "Social Icons {lang="en"}"'
2362
- }, {
2363
- default: withCtx(() => [
2364
- createTextVNode("​")
2365
- ]),
2366
- _: 1
2367
- /* STABLE */
2368
- })
2369
- ]),
2370
- createVNode("div", { lang: "zh-CN" }, [
2371
- createVNode("div", { class: "language-ts" }, [
2372
- createVNode("button", {
2373
- title: "Copy Code",
2374
- class: "copy"
2375
- }),
2376
- createVNode("span", { class: "lang" }, "ts"),
2377
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
2378
- createVNode("code", null, [
2379
- createVNode("span", { class: "line" }, [
2380
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
2381
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2382
- createVNode("span", { style: { "color": "#F97583" } }, "interface"),
2383
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2384
- createVNode("span", { style: { "color": "#B392F0" } }, "SocialLink"),
2385
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
2386
- ]),
2387
- createTextVNode("\n"),
2388
- createVNode("span", { class: "line" }, [
2389
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2390
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2391
- ]),
2392
- createTextVNode("\n"),
2393
- createVNode("span", { class: "line" }, [
2394
- createVNode("span", { style: { "color": "#6A737D" } }, " * 社交链接名称")
2395
- ]),
2396
- createTextVNode("\n"),
2397
- createVNode("span", { class: "line" }, [
2398
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2399
- ]),
2400
- createTextVNode("\n"),
2401
- createVNode("span", { class: "line" }, [
2402
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2403
- createVNode("span", { style: { "color": "#FFAB70" } }, "name"),
2404
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2405
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2406
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2407
- ]),
2408
- createTextVNode("\n"),
2409
- createVNode("span", { class: "line" }, [
2410
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2411
- createVNode("span", { style: { "color": "#FFAB70" } }, "link"),
2412
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2413
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2414
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2415
- ]),
2416
- createTextVNode("\n"),
2417
- createVNode("span", { class: "line" }, [
2418
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2419
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2420
- ]),
2421
- createTextVNode("\n"),
2422
- createVNode("span", { class: "line" }, [
2423
- createVNode("span", { style: { "color": "#6A737D" } }, " * 图标名称")
2424
- ]),
2425
- createTextVNode("\n"),
2426
- createVNode("span", { class: "line" }, [
2427
- createVNode("span", { style: { "color": "#6A737D" } }, " * https://icones.js.org/")
2428
- ]),
2429
- createTextVNode("\n"),
2430
- createVNode("span", { class: "line" }, [
2431
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2432
- ]),
2433
- createTextVNode("\n"),
2434
- createVNode("span", { class: "line" }, [
2435
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2436
- createVNode("span", { style: { "color": "#FFAB70" } }, "icon"),
2437
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2438
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2439
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2440
- ]),
2441
- createTextVNode("\n"),
2442
- createVNode("span", { class: "line" }, [
2443
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2444
- createVNode("span", { style: { "color": "#FFAB70" } }, "color"),
2445
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2446
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2447
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2448
- ]),
2449
- createTextVNode("\n"),
2450
- createVNode("span", { class: "line" }, [
2451
- createVNode("span", { style: { "color": "#E1E4E8" } }, "}")
2452
- ])
2453
- ])
2454
- ]),
2455
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
2456
- createVNode("code", null, [
2457
- createVNode("span", { class: "line" }, [
2458
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
2459
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2460
- createVNode("span", { style: { "color": "#D73A49" } }, "interface"),
2461
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2462
- createVNode("span", { style: { "color": "#6F42C1" } }, "SocialLink"),
2463
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2464
- ]),
2465
- createTextVNode("\n"),
2466
- createVNode("span", { class: "line" }, [
2467
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2468
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2469
- ]),
2470
- createTextVNode("\n"),
2471
- createVNode("span", { class: "line" }, [
2472
- createVNode("span", { style: { "color": "#6A737D" } }, " * 社交链接名称")
2473
- ]),
2474
- createTextVNode("\n"),
2475
- createVNode("span", { class: "line" }, [
2476
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2477
- ]),
2478
- createTextVNode("\n"),
2479
- createVNode("span", { class: "line" }, [
2480
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2481
- createVNode("span", { style: { "color": "#E36209" } }, "name"),
2482
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2483
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2484
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2485
- ]),
2486
- createTextVNode("\n"),
2487
- createVNode("span", { class: "line" }, [
2488
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2489
- createVNode("span", { style: { "color": "#E36209" } }, "link"),
2490
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2491
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2492
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2493
- ]),
2494
- createTextVNode("\n"),
2495
- createVNode("span", { class: "line" }, [
2496
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2497
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2498
- ]),
2499
- createTextVNode("\n"),
2500
- createVNode("span", { class: "line" }, [
2501
- createVNode("span", { style: { "color": "#6A737D" } }, " * 图标名称")
2502
- ]),
2503
- createTextVNode("\n"),
2504
- createVNode("span", { class: "line" }, [
2505
- createVNode("span", { style: { "color": "#6A737D" } }, " * https://icones.js.org/")
2506
- ]),
2507
- createTextVNode("\n"),
2508
- createVNode("span", { class: "line" }, [
2509
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2510
- ]),
2511
- createTextVNode("\n"),
2512
- createVNode("span", { class: "line" }, [
2513
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2514
- createVNode("span", { style: { "color": "#E36209" } }, "icon"),
2515
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2516
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2517
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2518
- ]),
2519
- createTextVNode("\n"),
2520
- createVNode("span", { class: "line" }, [
2521
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2522
- createVNode("span", { style: { "color": "#E36209" } }, "color"),
2523
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2524
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2525
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2526
- ]),
2527
- createTextVNode("\n"),
2528
- createVNode("span", { class: "line" }, [
2529
- createVNode("span", { style: { "color": "#24292E" } }, "}")
2530
- ])
2531
- ])
2532
- ])
2533
- ]),
2534
- createVNode("p", null, "示例:")
2535
- ]),
2536
- createVNode("div", { lang: "en" }, [
2537
- createVNode("div", { class: "language-ts" }, [
2538
- createVNode("button", {
2539
- title: "Copy Code",
2540
- class: "copy"
2541
- }),
2542
- createVNode("span", { class: "lang" }, "ts"),
2543
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
2544
- createVNode("code", null, [
2545
- createVNode("span", { class: "line" }, [
2546
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
2547
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2548
- createVNode("span", { style: { "color": "#F97583" } }, "interface"),
2549
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2550
- createVNode("span", { style: { "color": "#B392F0" } }, "SocialLink"),
2551
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
2552
- ]),
2553
- createTextVNode("\n"),
2554
- createVNode("span", { class: "line" }, [
2555
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2556
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2557
- ]),
2558
- createTextVNode("\n"),
2559
- createVNode("span", { class: "line" }, [
2560
- createVNode("span", { style: { "color": "#6A737D" } }, " * The title of your link")
2561
- ]),
2562
- createTextVNode("\n"),
2563
- createVNode("span", { class: "line" }, [
2564
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2565
- ]),
2566
- createTextVNode("\n"),
2567
- createVNode("span", { class: "line" }, [
2568
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2569
- createVNode("span", { style: { "color": "#FFAB70" } }, "name"),
2570
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2571
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2572
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2573
- ]),
2574
- createTextVNode("\n"),
2575
- createVNode("span", { class: "line" }, [
2576
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2577
- createVNode("span", { style: { "color": "#FFAB70" } }, "link"),
2578
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2579
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2580
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2581
- ]),
2582
- createTextVNode("\n"),
2583
- createVNode("span", { class: "line" }, [
2584
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2585
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2586
- ]),
2587
- createTextVNode("\n"),
2588
- createVNode("span", { class: "line" }, [
2589
- createVNode("span", { style: { "color": "#6A737D" } }, " * Icon name")
2590
- ]),
2591
- createTextVNode("\n"),
2592
- createVNode("span", { class: "line" }, [
2593
- createVNode("span", { style: { "color": "#6A737D" } }, " * https://icones.js.org/")
2594
- ]),
2595
- createTextVNode("\n"),
2596
- createVNode("span", { class: "line" }, [
2597
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2598
- ]),
2599
- createTextVNode("\n"),
2600
- createVNode("span", { class: "line" }, [
2601
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2602
- createVNode("span", { style: { "color": "#FFAB70" } }, "icon"),
2603
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2604
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2605
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2606
- ]),
2607
- createTextVNode("\n"),
2608
- createVNode("span", { class: "line" }, [
2609
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2610
- createVNode("span", { style: { "color": "#FFAB70" } }, "color"),
2611
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
2612
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2613
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
2614
- ]),
2615
- createTextVNode("\n"),
2616
- createVNode("span", { class: "line" }, [
2617
- createVNode("span", { style: { "color": "#E1E4E8" } }, "}")
2618
- ])
2619
- ])
2620
- ]),
2621
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
2622
- createVNode("code", null, [
2623
- createVNode("span", { class: "line" }, [
2624
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
2625
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2626
- createVNode("span", { style: { "color": "#D73A49" } }, "interface"),
2627
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2628
- createVNode("span", { style: { "color": "#6F42C1" } }, "SocialLink"),
2629
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2630
- ]),
2631
- createTextVNode("\n"),
2632
- createVNode("span", { class: "line" }, [
2633
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2634
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2635
- ]),
2636
- createTextVNode("\n"),
2637
- createVNode("span", { class: "line" }, [
2638
- createVNode("span", { style: { "color": "#6A737D" } }, " * The title of your link")
2639
- ]),
2640
- createTextVNode("\n"),
2641
- createVNode("span", { class: "line" }, [
2642
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2643
- ]),
2644
- createTextVNode("\n"),
2645
- createVNode("span", { class: "line" }, [
2646
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2647
- createVNode("span", { style: { "color": "#E36209" } }, "name"),
2648
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2649
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2650
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2651
- ]),
2652
- createTextVNode("\n"),
2653
- createVNode("span", { class: "line" }, [
2654
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2655
- createVNode("span", { style: { "color": "#E36209" } }, "link"),
2656
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2657
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2658
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2659
- ]),
2660
- createTextVNode("\n"),
2661
- createVNode("span", { class: "line" }, [
2662
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2663
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
2664
- ]),
2665
- createTextVNode("\n"),
2666
- createVNode("span", { class: "line" }, [
2667
- createVNode("span", { style: { "color": "#6A737D" } }, " * Icon name")
2668
- ]),
2669
- createTextVNode("\n"),
2670
- createVNode("span", { class: "line" }, [
2671
- createVNode("span", { style: { "color": "#6A737D" } }, " * https://icones.js.org/")
2672
- ]),
2673
- createTextVNode("\n"),
2674
- createVNode("span", { class: "line" }, [
2675
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
2676
- ]),
2677
- createTextVNode("\n"),
2678
- createVNode("span", { class: "line" }, [
2679
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2680
- createVNode("span", { style: { "color": "#E36209" } }, "icon"),
2681
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2682
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2683
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2684
- ]),
2685
- createTextVNode("\n"),
2686
- createVNode("span", { class: "line" }, [
2687
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2688
- createVNode("span", { style: { "color": "#E36209" } }, "color"),
2689
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2690
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2691
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
2692
- ]),
2693
- createTextVNode("\n"),
2694
- createVNode("span", { class: "line" }, [
2695
- createVNode("span", { style: { "color": "#24292E" } }, "}")
2696
- ])
2697
- ])
2698
- ])
2699
- ]),
2700
- createVNode("p", null, "Example:")
2701
- ]),
2702
- createVNode("div", { class: "language-ts" }, [
2703
- createVNode("button", {
2704
- title: "Copy Code",
2705
- class: "copy"
2706
- }),
2707
- createVNode("span", { class: "lang" }, "ts"),
2708
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
2709
- createVNode("code", null, [
2710
- createVNode("span", { class: "line" }, [
2711
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
2712
- ]),
2713
- createTextVNode("\n"),
2714
- createVNode("span", { class: "line" }, [
2715
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
2716
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
2717
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
2718
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2719
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
2720
- ]),
2721
- createTextVNode("\n"),
2722
- createVNode("span", { class: "line" }),
2723
- createTextVNode("\n"),
2724
- createVNode("span", { class: "line" }, [
2725
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
2726
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2727
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
2728
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2729
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
2730
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
2731
- ]),
2732
- createTextVNode("\n"),
2733
- createVNode("span", { class: "line" }, [
2734
- createVNode("span", { style: { "color": "#E1E4E8" } }, " social: [")
2735
- ]),
2736
- createTextVNode("\n"),
2737
- createVNode("span", { class: "line" }, [
2738
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
2739
- ]),
2740
- createTextVNode("\n"),
2741
- createVNode("span", { class: "line" }, [
2742
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
2743
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'RSS'"),
2744
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2745
- ]),
2746
- createTextVNode("\n"),
2747
- createVNode("span", { class: "line" }, [
2748
- createVNode("span", { style: { "color": "#E1E4E8" } }, " link: "),
2749
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'/atom.xml'"),
2750
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2751
- ]),
2752
- createTextVNode("\n"),
2753
- createVNode("span", { class: "line" }, [
2754
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
2755
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-rss-line'"),
2756
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2757
- ]),
2758
- createTextVNode("\n"),
2759
- createVNode("span", { class: "line" }, [
2760
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
2761
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'orange'"),
2762
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2763
- ]),
2764
- createTextVNode("\n"),
2765
- createVNode("span", { class: "line" }, [
2766
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
2767
- ]),
2768
- createTextVNode("\n"),
2769
- createVNode("span", { class: "line" }, [
2770
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
2771
- ]),
2772
- createTextVNode("\n"),
2773
- createVNode("span", { class: "line" }, [
2774
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
2775
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'QQ 群 1050458482'"),
2776
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2777
- ]),
2778
- createTextVNode("\n"),
2779
- createVNode("span", { class: "line" }, [
2780
- createVNode("span", { style: { "color": "#E1E4E8" } }, " link: "),
2781
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://qm.qq.com/cgi-bin/qm/qr?k=kZJzggTTCf4SpvEQ8lXWoi5ZjhAx0ILZ&jump_from=webapi'"),
2782
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2783
- ]),
2784
- createTextVNode("\n"),
2785
- createVNode("span", { class: "line" }, [
2786
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
2787
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-qq-line'"),
2788
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2789
- ]),
2790
- createTextVNode("\n"),
2791
- createVNode("span", { class: "line" }, [
2792
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
2793
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#12B7F5'"),
2794
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2795
- ]),
2796
- createTextVNode("\n"),
2797
- createVNode("span", { class: "line" }, [
2798
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
2799
- ]),
2800
- createTextVNode("\n"),
2801
- createVNode("span", { class: "line" }, [
2802
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
2803
- ]),
2804
- createTextVNode("\n"),
2805
- createVNode("span", { class: "line" }, [
2806
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
2807
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'GitHub'"),
2808
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2809
- ]),
2810
- createTextVNode("\n"),
2811
- createVNode("span", { class: "line" }, [
2812
- createVNode("span", { style: { "color": "#E1E4E8" } }, " link: "),
2813
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://github.com/YunYouJun'"),
2814
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2815
- ]),
2816
- createTextVNode("\n"),
2817
- createVNode("span", { class: "line" }, [
2818
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
2819
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-github-line'"),
2820
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2821
- ]),
2822
- createTextVNode("\n"),
2823
- createVNode("span", { class: "line" }, [
2824
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
2825
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#6e5494'"),
2826
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
2827
- ]),
2828
- createTextVNode("\n"),
2829
- createVNode("span", { class: "line" }, [
2830
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
2831
- ]),
2832
- createTextVNode("\n"),
2833
- createVNode("span", { class: "line" }, [
2834
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ]")
2835
- ]),
2836
- createTextVNode("\n"),
2837
- createVNode("span", { class: "line" }, [
2838
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
2839
- ])
2840
- ])
2841
- ]),
2842
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
2843
- createVNode("code", null, [
2844
- createVNode("span", { class: "line" }, [
2845
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
2846
- ]),
2847
- createTextVNode("\n"),
2848
- createVNode("span", { class: "line" }, [
2849
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
2850
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
2851
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
2852
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2853
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
2854
- ]),
2855
- createTextVNode("\n"),
2856
- createVNode("span", { class: "line" }),
2857
- createTextVNode("\n"),
2858
- createVNode("span", { class: "line" }, [
2859
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
2860
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2861
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
2862
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2863
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
2864
- createVNode("span", { style: { "color": "#24292E" } }, "({")
2865
- ]),
2866
- createTextVNode("\n"),
2867
- createVNode("span", { class: "line" }, [
2868
- createVNode("span", { style: { "color": "#24292E" } }, " social: [")
2869
- ]),
2870
- createTextVNode("\n"),
2871
- createVNode("span", { class: "line" }, [
2872
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2873
- ]),
2874
- createTextVNode("\n"),
2875
- createVNode("span", { class: "line" }, [
2876
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2877
- createVNode("span", { style: { "color": "#032F62" } }, "'RSS'"),
2878
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2879
- ]),
2880
- createTextVNode("\n"),
2881
- createVNode("span", { class: "line" }, [
2882
- createVNode("span", { style: { "color": "#24292E" } }, " link: "),
2883
- createVNode("span", { style: { "color": "#032F62" } }, "'/atom.xml'"),
2884
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2885
- ]),
2886
- createTextVNode("\n"),
2887
- createVNode("span", { class: "line" }, [
2888
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
2889
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-rss-line'"),
2890
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2891
- ]),
2892
- createTextVNode("\n"),
2893
- createVNode("span", { class: "line" }, [
2894
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
2895
- createVNode("span", { style: { "color": "#032F62" } }, "'orange'"),
2896
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2897
- ]),
2898
- createTextVNode("\n"),
2899
- createVNode("span", { class: "line" }, [
2900
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2901
- ]),
2902
- createTextVNode("\n"),
2903
- createVNode("span", { class: "line" }, [
2904
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2905
- ]),
2906
- createTextVNode("\n"),
2907
- createVNode("span", { class: "line" }, [
2908
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2909
- createVNode("span", { style: { "color": "#032F62" } }, "'QQ 群 1050458482'"),
2910
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2911
- ]),
2912
- createTextVNode("\n"),
2913
- createVNode("span", { class: "line" }, [
2914
- createVNode("span", { style: { "color": "#24292E" } }, " link: "),
2915
- createVNode("span", { style: { "color": "#032F62" } }, "'https://qm.qq.com/cgi-bin/qm/qr?k=kZJzggTTCf4SpvEQ8lXWoi5ZjhAx0ILZ&jump_from=webapi'"),
2916
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2917
- ]),
2918
- createTextVNode("\n"),
2919
- createVNode("span", { class: "line" }, [
2920
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
2921
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-qq-line'"),
2922
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2923
- ]),
2924
- createTextVNode("\n"),
2925
- createVNode("span", { class: "line" }, [
2926
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
2927
- createVNode("span", { style: { "color": "#032F62" } }, "'#12B7F5'"),
2928
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2929
- ]),
2930
- createTextVNode("\n"),
2931
- createVNode("span", { class: "line" }, [
2932
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2933
- ]),
2934
- createTextVNode("\n"),
2935
- createVNode("span", { class: "line" }, [
2936
- createVNode("span", { style: { "color": "#24292E" } }, " {")
2937
- ]),
2938
- createTextVNode("\n"),
2939
- createVNode("span", { class: "line" }, [
2940
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
2941
- createVNode("span", { style: { "color": "#032F62" } }, "'GitHub'"),
2942
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2943
- ]),
2944
- createTextVNode("\n"),
2945
- createVNode("span", { class: "line" }, [
2946
- createVNode("span", { style: { "color": "#24292E" } }, " link: "),
2947
- createVNode("span", { style: { "color": "#032F62" } }, "'https://github.com/YunYouJun'"),
2948
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2949
- ]),
2950
- createTextVNode("\n"),
2951
- createVNode("span", { class: "line" }, [
2952
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
2953
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-github-line'"),
2954
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2955
- ]),
2956
- createTextVNode("\n"),
2957
- createVNode("span", { class: "line" }, [
2958
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
2959
- createVNode("span", { style: { "color": "#032F62" } }, "'#6e5494'"),
2960
- createVNode("span", { style: { "color": "#24292E" } }, ",")
2961
- ]),
2962
- createTextVNode("\n"),
2963
- createVNode("span", { class: "line" }, [
2964
- createVNode("span", { style: { "color": "#24292E" } }, " },")
2965
- ]),
2966
- createTextVNode("\n"),
2967
- createVNode("span", { class: "line" }, [
2968
- createVNode("span", { style: { "color": "#24292E" } }, " ]")
2969
- ]),
2970
- createTextVNode("\n"),
2971
- createVNode("span", { class: "line" }, [
2972
- createVNode("span", { style: { "color": "#24292E" } }, "})")
2973
- ])
2974
- ])
2975
- ])
2976
- ]),
2977
- createVNode("h3", {
2978
- lang: "zh-CN",
2979
- id: "赞助",
2980
- tabindex: "-1"
2981
- }, [
2982
- createTextVNode("赞助 "),
2983
- createVNode(_component_AppLink, {
2984
- class: "header-anchor",
2985
- href: "#赞助",
2986
- "aria-label": 'Permalink to "赞助 {lang="zh-CN"}"'
2987
- }, {
2988
- default: withCtx(() => [
2989
- createTextVNode("​")
2990
- ]),
2991
- _: 1
2992
- /* STABLE */
2993
- })
2994
- ]),
2995
- createVNode("h3", {
2996
- lang: "en",
2997
- id: "sponsor",
2998
- tabindex: "-1"
2999
- }, [
3000
- createTextVNode("Sponsor "),
3001
- createVNode(_component_AppLink, {
3002
- class: "header-anchor",
3003
- href: "#sponsor",
3004
- "aria-label": 'Permalink to "Sponsor {lang="en"}"'
3005
- }, {
3006
- default: withCtx(() => [
3007
- createTextVNode("​")
3008
- ]),
3009
- _: 1
3010
- /* STABLE */
3011
- })
3012
- ]),
3013
- createVNode("div", { lang: "zh-CN" }, [
3014
- createVNode("blockquote", null, [
3015
- createVNode("p", null, "在每篇文章末尾,展示赞助(打赏)信息。")
3016
- ]),
3017
- createVNode("div", { class: "language-ts" }, [
3018
- createVNode("button", {
3019
- title: "Copy Code",
3020
- class: "copy"
3021
- }),
3022
- createVNode("span", { class: "lang" }, "ts"),
3023
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
3024
- createVNode("code", null, [
3025
- createVNode("span", { class: "line" }, [
3026
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3027
- ]),
3028
- createTextVNode("\n"),
3029
- createVNode("span", { class: "line" }, [
3030
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
3031
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
3032
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
3033
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3034
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
3035
- ]),
3036
- createTextVNode("\n"),
3037
- createVNode("span", { class: "line" }),
3038
- createTextVNode("\n"),
3039
- createVNode("span", { class: "line" }, [
3040
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
3041
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3042
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
3043
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3044
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
3045
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
3046
- ]),
3047
- createTextVNode("\n"),
3048
- createVNode("span", { class: "line" }, [
3049
- createVNode("span", { style: { "color": "#E1E4E8" } }, " sponsor: {")
3050
- ]),
3051
- createTextVNode("\n"),
3052
- createVNode("span", { class: "line" }, [
3053
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
3054
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
3055
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3056
- ]),
3057
- createTextVNode("\n"),
3058
- createVNode("span", { class: "line" }, [
3059
- createVNode("span", { style: { "color": "#E1E4E8" } }, " methods: [")
3060
- ]),
3061
- createTextVNode("\n"),
3062
- createVNode("span", { class: "line" }, [
3063
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3064
- ]),
3065
- createTextVNode("\n"),
3066
- createVNode("span", { class: "line" }, [
3067
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
3068
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'支付宝'"),
3069
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3070
- ]),
3071
- createTextVNode("\n"),
3072
- createVNode("span", { class: "line" }, [
3073
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
3074
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
3075
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3076
- ]),
3077
- createTextVNode("\n"),
3078
- createVNode("span", { class: "line" }, [
3079
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
3080
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#00A3EE'"),
3081
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3082
- ]),
3083
- createTextVNode("\n"),
3084
- createVNode("span", { class: "line" }, [
3085
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
3086
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-alipay-line'"),
3087
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3088
- ]),
3089
- createTextVNode("\n"),
3090
- createVNode("span", { class: "line" }, [
3091
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3092
- ]),
3093
- createTextVNode("\n"),
3094
- createVNode("span", { class: "line" }, [
3095
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3096
- ]),
3097
- createTextVNode("\n"),
3098
- createVNode("span", { class: "line" }, [
3099
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
3100
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'微信支付'"),
3101
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3102
- ]),
3103
- createTextVNode("\n"),
3104
- createVNode("span", { class: "line" }, [
3105
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
3106
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg'"),
3107
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3108
- ]),
3109
- createTextVNode("\n"),
3110
- createVNode("span", { class: "line" }, [
3111
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
3112
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#2DC100'"),
3113
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3114
- ]),
3115
- createTextVNode("\n"),
3116
- createVNode("span", { class: "line" }, [
3117
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
3118
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-wechat-pay-line'"),
3119
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3120
- ]),
3121
- createTextVNode("\n"),
3122
- createVNode("span", { class: "line" }, [
3123
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3124
- ]),
3125
- createTextVNode("\n"),
3126
- createVNode("span", { class: "line" }, [
3127
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
3128
- ]),
3129
- createTextVNode("\n"),
3130
- createVNode("span", { class: "line" }, [
3131
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3132
- ]),
3133
- createTextVNode("\n"),
3134
- createVNode("span", { class: "line" }, [
3135
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
3136
- ])
3137
- ])
3138
- ]),
3139
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
3140
- createVNode("code", null, [
3141
- createVNode("span", { class: "line" }, [
3142
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3143
- ]),
3144
- createTextVNode("\n"),
3145
- createVNode("span", { class: "line" }, [
3146
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
3147
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
3148
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
3149
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3150
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
3151
- ]),
3152
- createTextVNode("\n"),
3153
- createVNode("span", { class: "line" }),
3154
- createTextVNode("\n"),
3155
- createVNode("span", { class: "line" }, [
3156
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
3157
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3158
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
3159
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3160
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
3161
- createVNode("span", { style: { "color": "#24292E" } }, "({")
3162
- ]),
3163
- createTextVNode("\n"),
3164
- createVNode("span", { class: "line" }, [
3165
- createVNode("span", { style: { "color": "#24292E" } }, " sponsor: {")
3166
- ]),
3167
- createTextVNode("\n"),
3168
- createVNode("span", { class: "line" }, [
3169
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
3170
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
3171
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3172
- ]),
3173
- createTextVNode("\n"),
3174
- createVNode("span", { class: "line" }, [
3175
- createVNode("span", { style: { "color": "#24292E" } }, " methods: [")
3176
- ]),
3177
- createTextVNode("\n"),
3178
- createVNode("span", { class: "line" }, [
3179
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3180
- ]),
3181
- createTextVNode("\n"),
3182
- createVNode("span", { class: "line" }, [
3183
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
3184
- createVNode("span", { style: { "color": "#032F62" } }, "'支付宝'"),
3185
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3186
- ]),
3187
- createTextVNode("\n"),
3188
- createVNode("span", { class: "line" }, [
3189
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
3190
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
3191
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3192
- ]),
3193
- createTextVNode("\n"),
3194
- createVNode("span", { class: "line" }, [
3195
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
3196
- createVNode("span", { style: { "color": "#032F62" } }, "'#00A3EE'"),
3197
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3198
- ]),
3199
- createTextVNode("\n"),
3200
- createVNode("span", { class: "line" }, [
3201
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
3202
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-alipay-line'"),
3203
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3204
- ]),
3205
- createTextVNode("\n"),
3206
- createVNode("span", { class: "line" }, [
3207
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3208
- ]),
3209
- createTextVNode("\n"),
3210
- createVNode("span", { class: "line" }, [
3211
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3212
- ]),
3213
- createTextVNode("\n"),
3214
- createVNode("span", { class: "line" }, [
3215
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
3216
- createVNode("span", { style: { "color": "#032F62" } }, "'微信支付'"),
3217
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3218
- ]),
3219
- createTextVNode("\n"),
3220
- createVNode("span", { class: "line" }, [
3221
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
3222
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg'"),
3223
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3224
- ]),
3225
- createTextVNode("\n"),
3226
- createVNode("span", { class: "line" }, [
3227
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
3228
- createVNode("span", { style: { "color": "#032F62" } }, "'#2DC100'"),
3229
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3230
- ]),
3231
- createTextVNode("\n"),
3232
- createVNode("span", { class: "line" }, [
3233
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
3234
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-wechat-pay-line'"),
3235
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3236
- ]),
3237
- createTextVNode("\n"),
3238
- createVNode("span", { class: "line" }, [
3239
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3240
- ]),
3241
- createTextVNode("\n"),
3242
- createVNode("span", { class: "line" }, [
3243
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
3244
- ]),
3245
- createTextVNode("\n"),
3246
- createVNode("span", { class: "line" }, [
3247
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3248
- ]),
3249
- createTextVNode("\n"),
3250
- createVNode("span", { class: "line" }, [
3251
- createVNode("span", { style: { "color": "#24292E" } }, "})")
3252
- ])
3253
- ])
3254
- ])
3255
- ]),
3256
- createVNode("p", null, [
3257
- createTextVNode("你可以通过 "),
3258
- createVNode("code", null, "sponsor"),
3259
- createTextVNode(" 属性控制全局是否开启。")
3260
- ])
3261
- ]),
3262
- createVNode("div", { lang: "en" }, [
3263
- createVNode("blockquote", null, [
3264
- createVNode("p", null, "At the end of each post, show sponsor information.")
3265
- ]),
3266
- createVNode("div", { class: "language-ts" }, [
3267
- createVNode("button", {
3268
- title: "Copy Code",
3269
- class: "copy"
3270
- }),
3271
- createVNode("span", { class: "lang" }, "ts"),
3272
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
3273
- createVNode("code", null, [
3274
- createVNode("span", { class: "line" }, [
3275
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3276
- ]),
3277
- createTextVNode("\n"),
3278
- createVNode("span", { class: "line" }, [
3279
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
3280
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
3281
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
3282
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3283
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
3284
- ]),
3285
- createTextVNode("\n"),
3286
- createVNode("span", { class: "line" }),
3287
- createTextVNode("\n"),
3288
- createVNode("span", { class: "line" }, [
3289
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
3290
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3291
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
3292
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3293
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
3294
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
3295
- ]),
3296
- createTextVNode("\n"),
3297
- createVNode("span", { class: "line" }, [
3298
- createVNode("span", { style: { "color": "#E1E4E8" } }, " sponsor: {")
3299
- ]),
3300
- createTextVNode("\n"),
3301
- createVNode("span", { class: "line" }, [
3302
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
3303
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
3304
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3305
- ]),
3306
- createTextVNode("\n"),
3307
- createVNode("span", { class: "line" }, [
3308
- createVNode("span", { style: { "color": "#E1E4E8" } }, " methods: [")
3309
- ]),
3310
- createTextVNode("\n"),
3311
- createVNode("span", { class: "line" }, [
3312
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3313
- ]),
3314
- createTextVNode("\n"),
3315
- createVNode("span", { class: "line" }, [
3316
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
3317
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'Alipay'"),
3318
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3319
- ]),
3320
- createTextVNode("\n"),
3321
- createVNode("span", { class: "line" }, [
3322
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
3323
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
3324
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3325
- ]),
3326
- createTextVNode("\n"),
3327
- createVNode("span", { class: "line" }, [
3328
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
3329
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#00A3EE'"),
3330
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3331
- ]),
3332
- createTextVNode("\n"),
3333
- createVNode("span", { class: "line" }, [
3334
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
3335
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-alipay-line'"),
3336
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3337
- ]),
3338
- createTextVNode("\n"),
3339
- createVNode("span", { class: "line" }, [
3340
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3341
- ]),
3342
- createTextVNode("\n"),
3343
- createVNode("span", { class: "line" }, [
3344
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3345
- ]),
3346
- createTextVNode("\n"),
3347
- createVNode("span", { class: "line" }, [
3348
- createVNode("span", { style: { "color": "#E1E4E8" } }, " name: "),
3349
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'WeChat Pay'"),
3350
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3351
- ]),
3352
- createTextVNode("\n"),
3353
- createVNode("span", { class: "line" }, [
3354
- createVNode("span", { style: { "color": "#E1E4E8" } }, " url: "),
3355
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg'"),
3356
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3357
- ]),
3358
- createTextVNode("\n"),
3359
- createVNode("span", { class: "line" }, [
3360
- createVNode("span", { style: { "color": "#E1E4E8" } }, " color: "),
3361
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'#2DC100'"),
3362
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3363
- ]),
3364
- createTextVNode("\n"),
3365
- createVNode("span", { class: "line" }, [
3366
- createVNode("span", { style: { "color": "#E1E4E8" } }, " icon: "),
3367
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'i-ri-wechat-pay-line'"),
3368
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3369
- ]),
3370
- createTextVNode("\n"),
3371
- createVNode("span", { class: "line" }, [
3372
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3373
- ]),
3374
- createTextVNode("\n"),
3375
- createVNode("span", { class: "line" }, [
3376
- createVNode("span", { style: { "color": "#E1E4E8" } }, " ],")
3377
- ]),
3378
- createTextVNode("\n"),
3379
- createVNode("span", { class: "line" }, [
3380
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3381
- ]),
3382
- createTextVNode("\n"),
3383
- createVNode("span", { class: "line" }, [
3384
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
3385
- ])
3386
- ])
3387
- ]),
3388
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
3389
- createVNode("code", null, [
3390
- createVNode("span", { class: "line" }, [
3391
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3392
- ]),
3393
- createTextVNode("\n"),
3394
- createVNode("span", { class: "line" }, [
3395
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
3396
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
3397
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
3398
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3399
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
3400
- ]),
3401
- createTextVNode("\n"),
3402
- createVNode("span", { class: "line" }),
3403
- createTextVNode("\n"),
3404
- createVNode("span", { class: "line" }, [
3405
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
3406
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3407
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
3408
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3409
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
3410
- createVNode("span", { style: { "color": "#24292E" } }, "({")
3411
- ]),
3412
- createTextVNode("\n"),
3413
- createVNode("span", { class: "line" }, [
3414
- createVNode("span", { style: { "color": "#24292E" } }, " sponsor: {")
3415
- ]),
3416
- createTextVNode("\n"),
3417
- createVNode("span", { class: "line" }, [
3418
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
3419
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
3420
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3421
- ]),
3422
- createTextVNode("\n"),
3423
- createVNode("span", { class: "line" }, [
3424
- createVNode("span", { style: { "color": "#24292E" } }, " methods: [")
3425
- ]),
3426
- createTextVNode("\n"),
3427
- createVNode("span", { class: "line" }, [
3428
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3429
- ]),
3430
- createTextVNode("\n"),
3431
- createVNode("span", { class: "line" }, [
3432
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
3433
- createVNode("span", { style: { "color": "#032F62" } }, "'Alipay'"),
3434
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3435
- ]),
3436
- createTextVNode("\n"),
3437
- createVNode("span", { class: "line" }, [
3438
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
3439
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/alipay-qrcode.jpg'"),
3440
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3441
- ]),
3442
- createTextVNode("\n"),
3443
- createVNode("span", { class: "line" }, [
3444
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
3445
- createVNode("span", { style: { "color": "#032F62" } }, "'#00A3EE'"),
3446
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3447
- ]),
3448
- createTextVNode("\n"),
3449
- createVNode("span", { class: "line" }, [
3450
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
3451
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-alipay-line'"),
3452
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3453
- ]),
3454
- createTextVNode("\n"),
3455
- createVNode("span", { class: "line" }, [
3456
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3457
- ]),
3458
- createTextVNode("\n"),
3459
- createVNode("span", { class: "line" }, [
3460
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3461
- ]),
3462
- createTextVNode("\n"),
3463
- createVNode("span", { class: "line" }, [
3464
- createVNode("span", { style: { "color": "#24292E" } }, " name: "),
3465
- createVNode("span", { style: { "color": "#032F62" } }, "'WeChat Pay'"),
3466
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3467
- ]),
3468
- createTextVNode("\n"),
3469
- createVNode("span", { class: "line" }, [
3470
- createVNode("span", { style: { "color": "#24292E" } }, " url: "),
3471
- createVNode("span", { style: { "color": "#032F62" } }, "'https://cdn.yunyoujun.cn/img/donate/wechatpay-qrcode.jpg'"),
3472
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3473
- ]),
3474
- createTextVNode("\n"),
3475
- createVNode("span", { class: "line" }, [
3476
- createVNode("span", { style: { "color": "#24292E" } }, " color: "),
3477
- createVNode("span", { style: { "color": "#032F62" } }, "'#2DC100'"),
3478
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3479
- ]),
3480
- createTextVNode("\n"),
3481
- createVNode("span", { class: "line" }, [
3482
- createVNode("span", { style: { "color": "#24292E" } }, " icon: "),
3483
- createVNode("span", { style: { "color": "#032F62" } }, "'i-ri-wechat-pay-line'"),
3484
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3485
- ]),
3486
- createTextVNode("\n"),
3487
- createVNode("span", { class: "line" }, [
3488
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3489
- ]),
3490
- createTextVNode("\n"),
3491
- createVNode("span", { class: "line" }, [
3492
- createVNode("span", { style: { "color": "#24292E" } }, " ],")
3493
- ]),
3494
- createTextVNode("\n"),
3495
- createVNode("span", { class: "line" }, [
3496
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3497
- ]),
3498
- createTextVNode("\n"),
3499
- createVNode("span", { class: "line" }, [
3500
- createVNode("span", { style: { "color": "#24292E" } }, "})")
3501
- ])
3502
- ])
3503
- ])
3504
- ]),
3505
- createVNode("p", null, [
3506
- createTextVNode("You can use the "),
3507
- createVNode("code", null, "sponsor"),
3508
- createTextVNode(" property to globally toggle if it's shown.")
3509
- ])
3510
- ]),
3511
- createVNode("div", { class: "language-ts" }, [
3512
- createVNode("button", {
3513
- title: "Copy Code",
3514
- class: "copy"
3515
- }),
3516
- createVNode("span", { class: "lang" }, "ts"),
3517
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
3518
- createVNode("code", null, [
3519
- createVNode("span", { class: "line" }, [
3520
- createVNode("span", { style: { "color": "#F97583" } }, "interface"),
3521
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3522
- createVNode("span", { style: { "color": "#B392F0" } }, "SponsorOption"),
3523
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3524
- ]),
3525
- createTextVNode("\n"),
3526
- createVNode("span", { class: "line" }, [
3527
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3528
- createVNode("span", { style: { "color": "#FFAB70" } }, "enable"),
3529
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3530
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3531
- createVNode("span", { style: { "color": "#79B8FF" } }, "boolean")
3532
- ]),
3533
- createTextVNode("\n"),
3534
- createVNode("span", { class: "line" }, [
3535
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3536
- createVNode("span", { style: { "color": "#FFAB70" } }, "title"),
3537
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3538
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3539
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
3540
- ]),
3541
- createTextVNode("\n"),
3542
- createVNode("span", { class: "line" }, [
3543
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3544
- createVNode("span", { style: { "color": "#FFAB70" } }, "methods"),
3545
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3546
- createVNode("span", { style: { "color": "#E1E4E8" } }, " {")
3547
- ]),
3548
- createTextVNode("\n"),
3549
- createVNode("span", { class: "line" }, [
3550
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3551
- createVNode("span", { style: { "color": "#FFAB70" } }, "name"),
3552
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3553
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3554
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
3555
- ]),
3556
- createTextVNode("\n"),
3557
- createVNode("span", { class: "line" }, [
3558
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3559
- createVNode("span", { style: { "color": "#FFAB70" } }, "url"),
3560
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3561
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3562
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
3563
- ]),
3564
- createTextVNode("\n"),
3565
- createVNode("span", { class: "line" }, [
3566
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3567
- createVNode("span", { style: { "color": "#FFAB70" } }, "color"),
3568
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3569
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3570
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
3571
- ]),
3572
- createTextVNode("\n"),
3573
- createVNode("span", { class: "line" }, [
3574
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3575
- createVNode("span", { style: { "color": "#FFAB70" } }, "icon"),
3576
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
3577
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3578
- createVNode("span", { style: { "color": "#79B8FF" } }, "string")
3579
- ]),
3580
- createTextVNode("\n"),
3581
- createVNode("span", { class: "line" }, [
3582
- createVNode("span", { style: { "color": "#E1E4E8" } }, " }[]")
3583
- ]),
3584
- createTextVNode("\n"),
3585
- createVNode("span", { class: "line" }, [
3586
- createVNode("span", { style: { "color": "#E1E4E8" } }, "}")
3587
- ])
3588
- ])
3589
- ]),
3590
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
3591
- createVNode("code", null, [
3592
- createVNode("span", { class: "line" }, [
3593
- createVNode("span", { style: { "color": "#D73A49" } }, "interface"),
3594
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3595
- createVNode("span", { style: { "color": "#6F42C1" } }, "SponsorOption"),
3596
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3597
- ]),
3598
- createTextVNode("\n"),
3599
- createVNode("span", { class: "line" }, [
3600
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3601
- createVNode("span", { style: { "color": "#E36209" } }, "enable"),
3602
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3603
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3604
- createVNode("span", { style: { "color": "#005CC5" } }, "boolean")
3605
- ]),
3606
- createTextVNode("\n"),
3607
- createVNode("span", { class: "line" }, [
3608
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3609
- createVNode("span", { style: { "color": "#E36209" } }, "title"),
3610
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3611
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3612
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
3613
- ]),
3614
- createTextVNode("\n"),
3615
- createVNode("span", { class: "line" }, [
3616
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3617
- createVNode("span", { style: { "color": "#E36209" } }, "methods"),
3618
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3619
- createVNode("span", { style: { "color": "#24292E" } }, " {")
3620
- ]),
3621
- createTextVNode("\n"),
3622
- createVNode("span", { class: "line" }, [
3623
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3624
- createVNode("span", { style: { "color": "#E36209" } }, "name"),
3625
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3626
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3627
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
3628
- ]),
3629
- createTextVNode("\n"),
3630
- createVNode("span", { class: "line" }, [
3631
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3632
- createVNode("span", { style: { "color": "#E36209" } }, "url"),
3633
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3634
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3635
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
3636
- ]),
3637
- createTextVNode("\n"),
3638
- createVNode("span", { class: "line" }, [
3639
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3640
- createVNode("span", { style: { "color": "#E36209" } }, "color"),
3641
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3642
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3643
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
3644
- ]),
3645
- createTextVNode("\n"),
3646
- createVNode("span", { class: "line" }, [
3647
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3648
- createVNode("span", { style: { "color": "#E36209" } }, "icon"),
3649
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
3650
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3651
- createVNode("span", { style: { "color": "#005CC5" } }, "string")
3652
- ]),
3653
- createTextVNode("\n"),
3654
- createVNode("span", { class: "line" }, [
3655
- createVNode("span", { style: { "color": "#24292E" } }, " }[]")
3656
- ]),
3657
- createTextVNode("\n"),
3658
- createVNode("span", { class: "line" }, [
3659
- createVNode("span", { style: { "color": "#24292E" } }, "}")
3660
- ])
3661
- ])
3662
- ])
3663
- ]),
3664
- createVNode("div", { lang: "zh-CN" }, [
3665
- createVNode("p", null, "或为某篇文章的 Front Matter 单独设置:")
3666
- ]),
3667
- createVNode("div", { lang: "en" }, [
3668
- createVNode("p", null, "Or you can set for each post using front matter:")
3669
- ]),
3670
- createVNode("div", { class: "language-md" }, [
3671
- createVNode("button", {
3672
- title: "Copy Code",
3673
- class: "copy"
3674
- }),
3675
- createVNode("span", { class: "lang" }, "md"),
3676
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
3677
- createVNode("code", null, [
3678
- createVNode("span", { class: "line" }, [
3679
- createVNode("span", { style: { "color": "#E1E4E8" } }, "---")
3680
- ]),
3681
- createTextVNode("\n"),
3682
- createVNode("span", { class: "line" }, [
3683
- createVNode("span", { style: { "color": "#85E89D" } }, "title"),
3684
- createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
3685
- createVNode("span", { style: { "color": "#9ECBFF" } }, "xxx")
3686
- ]),
3687
- createTextVNode("\n"),
3688
- createVNode("span", { class: "line" }, [
3689
- createVNode("span", { style: { "color": "#85E89D" } }, "sponsor"),
3690
- createVNode("span", { style: { "color": "#E1E4E8" } }, ": "),
3691
- createVNode("span", { style: { "color": "#79B8FF" } }, "false")
3692
- ]),
3693
- createTextVNode("\n"),
3694
- createVNode("span", { class: "line" }, [
3695
- createVNode("span", { style: { "color": "#E1E4E8" } }, "---")
3696
- ])
3697
- ])
3698
- ]),
3699
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
3700
- createVNode("code", null, [
3701
- createVNode("span", { class: "line" }, [
3702
- createVNode("span", { style: { "color": "#24292E" } }, "---")
3703
- ]),
3704
- createTextVNode("\n"),
3705
- createVNode("span", { class: "line" }, [
3706
- createVNode("span", { style: { "color": "#22863A" } }, "title"),
3707
- createVNode("span", { style: { "color": "#24292E" } }, ": "),
3708
- createVNode("span", { style: { "color": "#032F62" } }, "xxx")
3709
- ]),
3710
- createTextVNode("\n"),
3711
- createVNode("span", { class: "line" }, [
3712
- createVNode("span", { style: { "color": "#22863A" } }, "sponsor"),
3713
- createVNode("span", { style: { "color": "#24292E" } }, ": "),
3714
- createVNode("span", { style: { "color": "#005CC5" } }, "false")
3715
- ]),
3716
- createTextVNode("\n"),
3717
- createVNode("span", { class: "line" }, [
3718
- createVNode("span", { style: { "color": "#24292E" } }, "---")
3719
- ])
3720
- ])
3721
- ])
3722
- ]),
3723
- createVNode("h3", {
3724
- id: "阅读统计",
3725
- tabindex: "-1"
3726
- }, [
3727
- createTextVNode("阅读统计 "),
3728
- createVNode(_component_AppLink, {
3729
- class: "header-anchor",
3730
- href: "#阅读统计",
3731
- "aria-label": 'Permalink to "阅读统计"'
3732
- }, {
3733
- default: withCtx(() => [
3734
- createTextVNode("​")
3735
- ]),
3736
- _: 1
3737
- /* STABLE */
3738
- })
3739
- ]),
3740
- createVNode("p", null, "开启阅读统计,将会在每篇文章开头展示阅读统计信息。"),
3741
- createVNode("blockquote", null, [
3742
- createVNode("p", null, [
3743
- createTextVNode("需要主题进行适配,即展示 "),
3744
- createVNode("code", null, "frontmatter"),
3745
- createTextVNode(" 中的 "),
3746
- createVNode("code", null, "wordCount"),
3747
- createTextVNode(" 和 "),
3748
- createVNode("code", null, "readingTime"),
3749
- createTextVNode(" 字段。")
3750
- ])
3751
- ]),
3752
- createVNode("ul", null, [
3753
- createVNode("li", null, [
3754
- createVNode("code", null, "wordCount"),
3755
- createTextVNode(":字数统计")
3756
- ]),
3757
- createVNode("li", null, [
3758
- createVNode("code", null, "readingTime"),
3759
- createTextVNode(":阅读时长(分钟) "),
3760
- createVNode("ul", null, [
3761
- createVNode("li", null, [
3762
- createTextVNode("可以设置不同语言的阅读速度,默认 "),
3763
- createVNode("code", null, "cn"),
3764
- createTextVNode(" 为 300 字/分钟,"),
3765
- createVNode("code", null, "en"),
3766
- createTextVNode(" 为 200 字/分钟。")
3767
- ])
3768
- ])
3769
- ])
3770
- ]),
3771
- createVNode("div", { class: "language-ts" }, [
3772
- createVNode("button", {
3773
- title: "Copy Code",
3774
- class: "copy"
3775
- }),
3776
- createVNode("span", { class: "lang" }, "ts"),
3777
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
3778
- createVNode("code", null, [
3779
- createVNode("span", { class: "line" }, [
3780
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3781
- ]),
3782
- createTextVNode("\n"),
3783
- createVNode("span", { class: "line" }, [
3784
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
3785
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { defineSiteConfig } "),
3786
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
3787
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3788
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
3789
- ]),
3790
- createTextVNode("\n"),
3791
- createVNode("span", { class: "line" }),
3792
- createTextVNode("\n"),
3793
- createVNode("span", { class: "line" }, [
3794
- createVNode("span", { style: { "color": "#F97583" } }, "export"),
3795
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3796
- createVNode("span", { style: { "color": "#F97583" } }, "default"),
3797
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3798
- createVNode("span", { style: { "color": "#B392F0" } }, "defineSiteConfig"),
3799
- createVNode("span", { style: { "color": "#E1E4E8" } }, "({")
3800
- ]),
3801
- createTextVNode("\n"),
3802
- createVNode("span", { class: "line" }, [
3803
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3804
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
3805
- ]),
3806
- createTextVNode("\n"),
3807
- createVNode("span", { class: "line" }, [
3808
- createVNode("span", { style: { "color": "#6A737D" } }, " * 开启阅读统计")
3809
- ]),
3810
- createTextVNode("\n"),
3811
- createVNode("span", { class: "line" }, [
3812
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
3813
- ]),
3814
- createTextVNode("\n"),
3815
- createVNode("span", { class: "line" }, [
3816
- createVNode("span", { style: { "color": "#E1E4E8" } }, " statistics: {")
3817
- ]),
3818
- createTextVNode("\n"),
3819
- createVNode("span", { class: "line" }, [
3820
- createVNode("span", { style: { "color": "#E1E4E8" } }, " enable: "),
3821
- createVNode("span", { style: { "color": "#79B8FF" } }, "true"),
3822
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3823
- ]),
3824
- createTextVNode("\n"),
3825
- createVNode("span", { class: "line" }, [
3826
- createVNode("span", { style: { "color": "#E1E4E8" } }, " readTime: {")
3827
- ]),
3828
- createTextVNode("\n"),
3829
- createVNode("span", { class: "line" }, [
3830
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
3831
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
3832
- ]),
3833
- createTextVNode("\n"),
3834
- createVNode("span", { class: "line" }, [
3835
- createVNode("span", { style: { "color": "#6A737D" } }, " * 阅读速度")
3836
- ]),
3837
- createTextVNode("\n"),
3838
- createVNode("span", { class: "line" }, [
3839
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
3840
- ]),
3841
- createTextVNode("\n"),
3842
- createVNode("span", { class: "line" }, [
3843
- createVNode("span", { style: { "color": "#E1E4E8" } }, " speed: {")
3844
- ]),
3845
- createTextVNode("\n"),
3846
- createVNode("span", { class: "line" }, [
3847
- createVNode("span", { style: { "color": "#E1E4E8" } }, " cn: "),
3848
- createVNode("span", { style: { "color": "#79B8FF" } }, "300"),
3849
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3850
- ]),
3851
- createTextVNode("\n"),
3852
- createVNode("span", { class: "line" }, [
3853
- createVNode("span", { style: { "color": "#E1E4E8" } }, " en: "),
3854
- createVNode("span", { style: { "color": "#79B8FF" } }, "200"),
3855
- createVNode("span", { style: { "color": "#E1E4E8" } }, ",")
3856
- ]),
3857
- createTextVNode("\n"),
3858
- createVNode("span", { class: "line" }, [
3859
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3860
- ]),
3861
- createTextVNode("\n"),
3862
- createVNode("span", { class: "line" }, [
3863
- createVNode("span", { style: { "color": "#E1E4E8" } }, " },")
3864
- ]),
3865
- createTextVNode("\n"),
3866
- createVNode("span", { class: "line" }, [
3867
- createVNode("span", { style: { "color": "#E1E4E8" } }, " }")
3868
- ]),
3869
- createTextVNode("\n"),
3870
- createVNode("span", { class: "line" }, [
3871
- createVNode("span", { style: { "color": "#E1E4E8" } }, "})")
3872
- ])
3873
- ])
3874
- ]),
3875
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
3876
- createVNode("code", null, [
3877
- createVNode("span", { class: "line" }, [
3878
- createVNode("span", { style: { "color": "#6A737D" } }, "// site.config.ts")
3879
- ]),
3880
- createTextVNode("\n"),
3881
- createVNode("span", { class: "line" }, [
3882
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
3883
- createVNode("span", { style: { "color": "#24292E" } }, " { defineSiteConfig } "),
3884
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
3885
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3886
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
3887
- ]),
3888
- createTextVNode("\n"),
3889
- createVNode("span", { class: "line" }),
3890
- createTextVNode("\n"),
3891
- createVNode("span", { class: "line" }, [
3892
- createVNode("span", { style: { "color": "#D73A49" } }, "export"),
3893
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3894
- createVNode("span", { style: { "color": "#D73A49" } }, "default"),
3895
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3896
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineSiteConfig"),
3897
- createVNode("span", { style: { "color": "#24292E" } }, "({")
3898
- ]),
3899
- createTextVNode("\n"),
3900
- createVNode("span", { class: "line" }, [
3901
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3902
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
3903
- ]),
3904
- createTextVNode("\n"),
3905
- createVNode("span", { class: "line" }, [
3906
- createVNode("span", { style: { "color": "#6A737D" } }, " * 开启阅读统计")
3907
- ]),
3908
- createTextVNode("\n"),
3909
- createVNode("span", { class: "line" }, [
3910
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
3911
- ]),
3912
- createTextVNode("\n"),
3913
- createVNode("span", { class: "line" }, [
3914
- createVNode("span", { style: { "color": "#24292E" } }, " statistics: {")
3915
- ]),
3916
- createTextVNode("\n"),
3917
- createVNode("span", { class: "line" }, [
3918
- createVNode("span", { style: { "color": "#24292E" } }, " enable: "),
3919
- createVNode("span", { style: { "color": "#005CC5" } }, "true"),
3920
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3921
- ]),
3922
- createTextVNode("\n"),
3923
- createVNode("span", { class: "line" }, [
3924
- createVNode("span", { style: { "color": "#24292E" } }, " readTime: {")
3925
- ]),
3926
- createTextVNode("\n"),
3927
- createVNode("span", { class: "line" }, [
3928
- createVNode("span", { style: { "color": "#24292E" } }, " "),
3929
- createVNode("span", { style: { "color": "#6A737D" } }, "/**")
3930
- ]),
3931
- createTextVNode("\n"),
3932
- createVNode("span", { class: "line" }, [
3933
- createVNode("span", { style: { "color": "#6A737D" } }, " * 阅读速度")
3934
- ]),
3935
- createTextVNode("\n"),
3936
- createVNode("span", { class: "line" }, [
3937
- createVNode("span", { style: { "color": "#6A737D" } }, " */")
3938
- ]),
3939
- createTextVNode("\n"),
3940
- createVNode("span", { class: "line" }, [
3941
- createVNode("span", { style: { "color": "#24292E" } }, " speed: {")
3942
- ]),
3943
- createTextVNode("\n"),
3944
- createVNode("span", { class: "line" }, [
3945
- createVNode("span", { style: { "color": "#24292E" } }, " cn: "),
3946
- createVNode("span", { style: { "color": "#005CC5" } }, "300"),
3947
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3948
- ]),
3949
- createTextVNode("\n"),
3950
- createVNode("span", { class: "line" }, [
3951
- createVNode("span", { style: { "color": "#24292E" } }, " en: "),
3952
- createVNode("span", { style: { "color": "#005CC5" } }, "200"),
3953
- createVNode("span", { style: { "color": "#24292E" } }, ",")
3954
- ]),
3955
- createTextVNode("\n"),
3956
- createVNode("span", { class: "line" }, [
3957
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3958
- ]),
3959
- createTextVNode("\n"),
3960
- createVNode("span", { class: "line" }, [
3961
- createVNode("span", { style: { "color": "#24292E" } }, " },")
3962
- ]),
3963
- createTextVNode("\n"),
3964
- createVNode("span", { class: "line" }, [
3965
- createVNode("span", { style: { "color": "#24292E" } }, " }")
3966
- ]),
3967
- createTextVNode("\n"),
3968
- createVNode("span", { class: "line" }, [
3969
- createVNode("span", { style: { "color": "#24292E" } }, "})")
3970
- ])
3971
- ])
3972
- ])
3973
- ]),
3974
- createVNode("h2", {
3975
- lang: "zh-CN",
3976
- id: "主题配置",
3977
- tabindex: "-1"
3978
- }, [
3979
- createTextVNode("主题配置 "),
3980
- createVNode(_component_AppLink, {
3981
- class: "header-anchor",
3982
- href: "#主题配置",
3983
- "aria-label": 'Permalink to "主题配置 {lang="zh-CN"}"'
3984
- }, {
3985
- default: withCtx(() => [
3986
- createTextVNode("​")
3987
- ]),
3988
- _: 1
3989
- /* STABLE */
3990
- })
3991
- ]),
3992
- createVNode("h2", {
3993
- lang: "en",
3994
- id: "theme-config",
3995
- tabindex: "-1"
3996
- }, [
3997
- createTextVNode("Theme Config "),
3998
- createVNode(_component_AppLink, {
3999
- class: "header-anchor",
4000
- href: "#theme-config",
4001
- "aria-label": 'Permalink to "Theme Config {lang="en"}"'
4002
- }, {
4003
- default: withCtx(() => [
4004
- createTextVNode("​")
4005
- ]),
4006
- _: 1
4007
- /* STABLE */
4008
- })
4009
- ]),
4010
- createVNode("div", { lang: "zh-CN" }, [
4011
- createVNode("p", null, [
4012
- createTextVNode("参照 "),
4013
- createVNode(_component_AppLink, { href: "/themes/use" }, {
4014
- default: withCtx(() => [
4015
- createTextVNode("使用主题")
4016
- ]),
4017
- _: 1
4018
- /* STABLE */
4019
- }),
4020
- createTextVNode(" 及您所使用的主题文档进行配置。")
4021
- ])
4022
- ]),
4023
- createVNode("div", { lang: "en" }, [
4024
- createVNode("p", null, [
4025
- createTextVNode("Please refer to "),
4026
- createVNode(_component_AppLink, { href: "/themes/use" }, {
4027
- default: withCtx(() => [
4028
- createTextVNode("Using Themes")
4029
- ]),
4030
- _: 1
4031
- /* STABLE */
4032
- }),
4033
- createTextVNode(" and the theme you are using to configure it.")
4034
- ])
4035
- ])
4036
- ];
4037
- }
4038
- }),
4039
- "main-header": withCtx((_, _push2, _parent2, _scopeId) => {
4040
- if (_push2) {
4041
- ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
4042
- } else {
4043
- return [
4044
- renderSlot(_ctx.$slots, "main-header")
4045
- ];
4046
- }
4047
- }),
4048
- "main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
4049
- if (_push2) {
4050
- ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
4051
- } else {
4052
- return [
4053
- renderSlot(_ctx.$slots, "main-header-after")
4054
- ];
4055
- }
4056
- }),
4057
- "main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
4058
- if (_push2) {
4059
- ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
4060
- } else {
4061
- return [
4062
- renderSlot(_ctx.$slots, "main-nav")
4063
- ];
4064
- }
4065
- }),
4066
- "main-content": withCtx((_, _push2, _parent2, _scopeId) => {
4067
- if (_push2) {
4068
- ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
4069
- } else {
4070
- return [
4071
- renderSlot(_ctx.$slots, "main-content")
4072
- ];
4073
- }
4074
- }),
4075
- "main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
4076
- if (_push2) {
4077
- ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
4078
- } else {
4079
- return [
4080
- renderSlot(_ctx.$slots, "main-content-after")
4081
- ];
4082
- }
4083
- }),
4084
- "main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
4085
- if (_push2) {
4086
- ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
4087
- } else {
4088
- return [
4089
- renderSlot(_ctx.$slots, "main-nav-before")
4090
- ];
4091
- }
4092
- }),
4093
- "main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
4094
- if (_push2) {
4095
- ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
4096
- } else {
4097
- return [
4098
- renderSlot(_ctx.$slots, "main-nav-after")
4099
- ];
4100
- }
4101
- }),
4102
- comment: withCtx((_, _push2, _parent2, _scopeId) => {
4103
- if (_push2) {
4104
- ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
4105
- } else {
4106
- return [
4107
- renderSlot(_ctx.$slots, "comment")
4108
- ];
4109
- }
4110
- }),
4111
- footer: withCtx((_, _push2, _parent2, _scopeId) => {
4112
- if (_push2) {
4113
- ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
4114
- } else {
4115
- return [
4116
- renderSlot(_ctx.$slots, "footer")
4117
- ];
4118
- }
4119
- }),
4120
- aside: withCtx((_, _push2, _parent2, _scopeId) => {
4121
- if (_push2) {
4122
- ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
4123
- } else {
4124
- return [
4125
- renderSlot(_ctx.$slots, "aside")
4126
- ];
4127
- }
4128
- }),
4129
- "aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
4130
- if (_push2) {
4131
- ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
4132
- } else {
4133
- return [
4134
- renderSlot(_ctx.$slots, "aside-custom")
4135
- ];
4136
- }
4137
- }),
4138
- default: withCtx((_, _push2, _parent2, _scopeId) => {
4139
- if (_push2) {
4140
- ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
4141
- } else {
4142
- return [
4143
- renderSlot(_ctx.$slots, "default")
4144
- ];
4145
- }
4146
- }),
4147
- _: 3
4148
- /* FORWARDED */
4149
- }, _parent));
4150
- }
4151
- const _sfc_setup = _sfc_main.setup;
4152
- _sfc_main.setup = (props, ctx) => {
4153
- const ssrContext = useSSRContext();
4154
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/config/index.md");
4155
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
4156
- };
4157
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
4158
- export {
4159
- __pageData,
4160
- index as default
4161
- };