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,2460 +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":"Components","description":"","frontmatter":{"title":"Components","title_zh-CN":"自定义组件","categories":["custom"],"end":false},"headers":[{"level":2,"title":"自动组件注册","slug":"自动组件注册","link":"#自动组件注册","children":[]},{"level":2,"title":"Automatic Component Registration","slug":"automatic-component-registration","link":"#automatic-component-registration","children":[{"level":3,"title":"自定义覆盖主题组件","slug":"自定义覆盖主题组件","link":"#自定义覆盖主题组件","children":[]},{"level":3,"title":"Custom Override Theme Component","slug":"custom-override-theme-component","link":"#custom-override-theme-component","children":[]},{"level":3,"title":"更多示例","slug":"更多示例","link":"#更多示例","children":[]},{"level":3,"title":"More Examples","slug":"more-examples","link":"#more-examples","children":[]},{"level":3,"title":"插入不蒜子统计","slug":"插入不蒜子统计","link":"#插入不蒜子统计","children":[]},{"level":3,"title":"Insert Busuanzi Statistics","slug":"insert-busuanzi-statistics","link":"#insert-busuanzi-statistics","children":[]},{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]},{"level":3,"title":"Other","slug":"other","link":"#other","children":[]}]}],"relativePath":"pages/guide/custom/components.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\custom\\\\components.md","lastUpdated":1696368478000}');
25
- const data = JSON.parse('{"title":"Components","description":"","frontmatter":{"title":"Components","title_zh-CN":"自定义组件","categories":["custom"],"end":false},"headers":[{"level":2,"title":"自动组件注册","slug":"自动组件注册","link":"#自动组件注册","children":[]},{"level":2,"title":"Automatic Component Registration","slug":"automatic-component-registration","link":"#automatic-component-registration","children":[{"level":3,"title":"自定义覆盖主题组件","slug":"自定义覆盖主题组件","link":"#自定义覆盖主题组件","children":[]},{"level":3,"title":"Custom Override Theme Component","slug":"custom-override-theme-component","link":"#custom-override-theme-component","children":[]},{"level":3,"title":"更多示例","slug":"更多示例","link":"#更多示例","children":[]},{"level":3,"title":"More Examples","slug":"more-examples","link":"#more-examples","children":[]},{"level":3,"title":"插入不蒜子统计","slug":"插入不蒜子统计","link":"#插入不蒜子统计","children":[]},{"level":3,"title":"Insert Busuanzi Statistics","slug":"insert-busuanzi-statistics","link":"#insert-busuanzi-statistics","children":[]},{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]},{"level":3,"title":"Other","slug":"other","link":"#other","children":[]}]}],"relativePath":"pages/guide/custom/components.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\guide\\\\custom\\\\components.md","lastUpdated":1696368478000}');
26
- const _sfc_main = {
27
- name: "pages/guide/custom/components.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="automatic-component-registration" tabindex="-1"${_scopeId}>Automatic Component Registration `);
65
- _push2(ssrRenderComponent(_component_AppLink, {
66
- class: "header-anchor",
67
- href: "#automatic-component-registration",
68
- "aria-label": 'Permalink to "Automatic Component Registration {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}>新建 <code${_scopeId}>components</code> 文件夹,书写任意 Vue 组件。 它们会被自动注册,你甚至可以在你的 Markdown 文件中使用它。</p><p${_scopeId}>如果存在与主题、Valaxy 的同名组件,覆盖顺序为 <code${_scopeId}>用户目录</code> -&gt; <code${_scopeId}>主题目录</code> -&gt; <code${_scopeId}>Valaxy 客户端目录</code>。 这也意味着你可以只覆盖主题的某个组件,来达到自定义局部主题的效果!</p></div><div lang="en"${_scopeId}><p${_scopeId}>Create <code${_scopeId}>components</code> folder, write any Vue components. They will be registered automatically and you can even use them in your Markdown files.</p><p${_scopeId}>If there are components with the same name as the theme and Valaxy, the order of overriding is <code${_scopeId}>user directory</code> -&gt; <code${_scopeId}>theme directory</code> -&gt; <code${_scopeId}>Valaxy client directory</code>.</p><p${_scopeId}>This also means that you can cover one component of the theme to achieve customizing the local theme!</p></div><h3 lang="zh-CN" id="自定义覆盖主题组件" tabindex="-1"${_scopeId}>自定义覆盖主题组件 `);
83
- _push2(ssrRenderComponent(_component_AppLink, {
84
- class: "header-anchor",
85
- href: "#自定义覆盖主题组件",
86
- "aria-label": 'Permalink to "自定义覆盖主题组件 {lang="zh-CN"}"'
87
- }, {
88
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
89
- if (_push3) {
90
- _push3(`​`);
91
- } else {
92
- return [
93
- createTextVNode("​")
94
- ];
95
- }
96
- }),
97
- _: 1
98
- /* STABLE */
99
- }, _parent2, _scopeId));
100
- _push2(`</h3><h3 lang="en" id="custom-override-theme-component" tabindex="-1"${_scopeId}>Custom Override Theme Component `);
101
- _push2(ssrRenderComponent(_component_AppLink, {
102
- class: "header-anchor",
103
- href: "#custom-override-theme-component",
104
- "aria-label": 'Permalink to "Custom Override Theme Component {lang="en"}"'
105
- }, {
106
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
107
- if (_push3) {
108
- _push3(`​`);
109
- } else {
110
- return [
111
- createTextVNode("​")
112
- ];
113
- }
114
- }),
115
- _: 1
116
- /* STABLE */
117
- }, _parent2, _scopeId));
118
- _push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>基于此,你可以非常容易地自定义主题的任何地方!</p><p${_scopeId}>譬如自定义页脚:</p><blockquote${_scopeId}><p${_scopeId}>可参见 `);
119
- _push2(ssrRenderComponent(_component_AppLink, {
120
- href: "https://github.com/YunYouJun/valaxy/blob/main/demo/yun/components/YunFooter.vue",
121
- target: "_blank",
122
- rel: "noreferrer"
123
- }, {
124
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
125
- if (_push3) {
126
- _push3(`demo/yun/components/YunFooter.vue | GitHub`);
127
- } else {
128
- return [
129
- createTextVNode("demo/yun/components/YunFooter.vue | GitHub")
130
- ];
131
- }
132
- }),
133
- _: 1
134
- /* STABLE */
135
- }, _parent2, _scopeId));
136
- _push2(`</p></blockquote><p${_scopeId}>在博客文件夹中 <code${_scopeId}>components</code> 目录下,新建 <code${_scopeId}>YunFooter.vue</code> 覆盖你的主题页脚文件。</p><p${_scopeId}>你可以直接替换掉页脚内容:</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
137
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;页脚内容&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
138
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
139
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;页脚内容&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
140
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>也可以继承扩展此前的页脚:</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
141
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
142
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
143
- <span class="line"${_scopeId}></span>
144
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
145
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
146
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> 自定义页脚内容</span></span>
147
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
148
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
149
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
150
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
151
- <span class="line"${_scopeId}></span>
152
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
153
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
154
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> 自定义页脚内容</span></span>
155
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
156
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div></div><div lang="en"${_scopeId}><p${_scopeId}>Based on this, you can easily customize the theme anywhere!</p><p${_scopeId}>For example, custom footer:</p><blockquote${_scopeId}><p${_scopeId}>Refer to `);
157
- _push2(ssrRenderComponent(_component_AppLink, {
158
- href: "https://github.com/YunYouJun/valaxy/blob/main/demo/yun/components/YunFooter.vue",
159
- target: "_blank",
160
- rel: "noreferrer"
161
- }, {
162
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
163
- if (_push3) {
164
- _push3(`demo/yun/components/YunFooter.vue | GitHub`);
165
- } else {
166
- return [
167
- createTextVNode("demo/yun/components/YunFooter.vue | GitHub")
168
- ];
169
- }
170
- }),
171
- _: 1
172
- /* STABLE */
173
- }, _parent2, _scopeId));
174
- _push2(`</p></blockquote><p${_scopeId}>In the <code${_scopeId}>components</code> directory of the blog folder, create a new <code${_scopeId}>YunFooter.vue</code> to overwrite the footer file of your theme.</p><p${_scopeId}>You can replace the footer directly:</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
175
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;Footer content&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
176
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
177
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;Footer content&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
178
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>You can also inherit and extend the previous footer:</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
179
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
180
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
181
- <span class="line"${_scopeId}></span>
182
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
183
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
184
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> Customize footer content</span></span>
185
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
186
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
187
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
188
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
189
- <span class="line"${_scopeId}></span>
190
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
191
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
192
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> Customize footer content</span></span>
193
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
194
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div></div><h3 lang="zh-CN" id="更多示例" tabindex="-1"${_scopeId}>更多示例 `);
195
- _push2(ssrRenderComponent(_component_AppLink, {
196
- class: "header-anchor",
197
- href: "#更多示例",
198
- "aria-label": 'Permalink to "更多示例 {lang="zh-CN"}"'
199
- }, {
200
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
201
- if (_push3) {
202
- _push3(`​`);
203
- } else {
204
- return [
205
- createTextVNode("​")
206
- ];
207
- }
208
- }),
209
- _: 1
210
- /* STABLE */
211
- }, _parent2, _scopeId));
212
- _push2(`</h3><h3 lang="en" id="more-examples" tabindex="-1"${_scopeId}>More Examples `);
213
- _push2(ssrRenderComponent(_component_AppLink, {
214
- class: "header-anchor",
215
- href: "#more-examples",
216
- "aria-label": 'Permalink to "More Examples {lang="en"}"'
217
- }, {
218
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
219
- if (_push3) {
220
- _push3(`​`);
221
- } else {
222
- return [
223
- createTextVNode("​")
224
- ];
225
- }
226
- }),
227
- _: 1
228
- /* STABLE */
229
- }, _parent2, _scopeId));
230
- _push2(`</h3><h3 lang="zh-CN" id="插入不蒜子统计" tabindex="-1"${_scopeId}>插入不蒜子统计 `);
231
- _push2(ssrRenderComponent(_component_AppLink, {
232
- class: "header-anchor",
233
- href: "#插入不蒜子统计",
234
- "aria-label": 'Permalink to "插入不蒜子统计 {lang="zh-CN"}"'
235
- }, {
236
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
237
- if (_push3) {
238
- _push3(`​`);
239
- } else {
240
- return [
241
- createTextVNode("​")
242
- ];
243
- }
244
- }),
245
- _: 1
246
- /* STABLE */
247
- }, _parent2, _scopeId));
248
- _push2(`</h3><h3 lang="en" id="insert-busuanzi-statistics" tabindex="-1"${_scopeId}>Insert Busuanzi Statistics `);
249
- _push2(ssrRenderComponent(_component_AppLink, {
250
- class: "header-anchor",
251
- href: "#insert-busuanzi-statistics",
252
- "aria-label": 'Permalink to "Insert Busuanzi Statistics {lang="en"}"'
253
- }, {
254
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
255
- if (_push3) {
256
- _push3(`​`);
257
- } else {
258
- return [
259
- createTextVNode("​")
260
- ];
261
- }
262
- }),
263
- _: 1
264
- /* STABLE */
265
- }, _parent2, _scopeId));
266
- _push2(`</h3><div lang="zh-CN"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>`);
267
- _push2(ssrRenderComponent(_component_AppLink, {
268
- href: "http://ibruce.info/2015/04/04/busuanzi/",
269
- target: "_blank",
270
- rel: "noreferrer"
271
- }, {
272
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
273
- if (_push3) {
274
- _push3(`不蒜子统计`);
275
- } else {
276
- return [
277
- createTextVNode("不蒜子统计")
278
- ];
279
- }
280
- }),
281
- _: 1
282
- /* STABLE */
283
- }, _parent2, _scopeId));
284
- _push2(`</p></blockquote><p${_scopeId}>以 valaxy-theme-yun 为例:</p><blockquote${_scopeId}><p${_scopeId}>默认指在你的博客文件夹下进行操作。</p></blockquote><p${_scopeId}>在 <code${_scopeId}>components/</code> 文件夹下新建 <code${_scopeId}>YunFooter.vue</code> 以自定义页脚并显示不蒜子统计。 你可以根据你的需要自由定制它的样式。</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
285
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
286
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
287
- <span class="line"${_scopeId}></span>
288
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
289
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
290
- <span class="line"${_scopeId}></span>
291
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
292
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
293
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>&lt;!-- 自定义页脚内容 --&gt;</span></span>
294
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
295
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
296
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
297
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
298
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
299
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
300
- <span class="line"${_scopeId}></span>
301
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
302
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
303
- <span class="line"${_scopeId}></span>
304
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
305
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
306
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>&lt;!-- 自定义页脚内容 --&gt;</span></span>
307
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站总访问量 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
308
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;本站访客数 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 人次&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
309
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
310
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>在 <code${_scopeId}>components/</code> 文件夹下新建 <code${_scopeId}>YunPostMeta.vue</code> 以自定义每篇文章的信息并显示不蒜子单篇文章统计。</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
311
- <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}> { Post } </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>
312
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useLayout } </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>
313
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunPostMeta </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/components/YunPostMeta.vue&#39;</span></span>
314
- <span class="line"${_scopeId}></span>
315
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineProps</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;{</span></span>
316
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>frontmatter</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Post</span></span>
317
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>}&gt;()</span></span>
318
- <span class="line"${_scopeId}></span>
319
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// 仅在 Post 布局显示</span></span>
320
- <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}>isPost</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useLayout</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;post&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
321
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
322
- <span class="line"${_scopeId}></span>
323
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
324
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>:frontmatter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;frontmatter&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
325
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>v-if</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;isPost&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_container_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
326
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> 本文总阅读量 &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt; 次</span></span>
327
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
328
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
329
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
330
- <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}> { Post } </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>
331
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useLayout } </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>
332
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunPostMeta </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/components/YunPostMeta.vue&#39;</span></span>
333
- <span class="line"${_scopeId}></span>
334
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineProps</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;{</span></span>
335
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>frontmatter</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Post</span></span>
336
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}&gt;()</span></span>
337
- <span class="line"${_scopeId}></span>
338
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// 仅在 Post 布局显示</span></span>
339
- <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}>isPost</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useLayout</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;post&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
340
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
341
- <span class="line"${_scopeId}></span>
342
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
343
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>:frontmatter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;frontmatter&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
344
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>v-if</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;isPost&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_container_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
345
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> 本文总阅读量 &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt; 次</span></span>
346
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
347
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
348
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>原理即覆盖组件,您还可以自由覆盖主题的任意其他组件。</p></div><div lang="en"${_scopeId}><blockquote${_scopeId}><p${_scopeId}>`);
349
- _push2(ssrRenderComponent(_component_AppLink, {
350
- href: "http://ibruce.info/2015/04/04/busuanzi/",
351
- target: "_blank",
352
- rel: "noreferrer"
353
- }, {
354
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
355
- if (_push3) {
356
- _push3(`Busuanzi Statistics`);
357
- } else {
358
- return [
359
- createTextVNode("Busuanzi Statistics")
360
- ];
361
- }
362
- }),
363
- _: 1
364
- /* STABLE */
365
- }, _parent2, _scopeId));
366
- _push2(`</p></blockquote><p${_scopeId}>Take valaxy-theme-yun as an example:</p><blockquote${_scopeId}><p${_scopeId}>By default, operate in your blog folder.</p></blockquote><p${_scopeId}>Create a new <code${_scopeId}>YunFooter.vue</code> under the <code${_scopeId}>components/</code> folder to customize the footer and display <em${_scopeId}>Busuanzi Statistics</em>. You can customize its style freely according to your needs.</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
367
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
368
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
369
- <span class="line"${_scopeId}></span>
370
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
371
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
372
- <span class="line"${_scopeId}></span>
373
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
374
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
375
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>&lt;!-- customize footer content --&gt;</span></span>
376
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;Total visits of this site &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
377
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;Number of visitors &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
378
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
379
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
380
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useScriptTag } </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>from</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;@vueuse/core&#39;</span></span>
381
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunFooter </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/components/YunFooter.vue&#39;</span></span>
382
- <span class="line"${_scopeId}></span>
383
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useScriptTag</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
384
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
385
- <span class="line"${_scopeId}></span>
386
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
387
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
388
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>&lt;!-- customize footer content --&gt;</span></span>
389
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;Total visits of this site &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
390
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;Number of visitors &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_site_uv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>div</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
391
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunFooter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
392
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>Create a new <code${_scopeId}>YunPostMeta.vue</code> under the <code${_scopeId}>components/</code> folder to customize the information of each article and display the statistics of each article.</p><div class="language-vue"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>vue</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
393
- <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}> { Post } </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>
394
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> { useLayout } </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>
395
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> YunPostMeta </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/components/YunPostMeta.vue&#39;</span></span>
396
- <span class="line"${_scopeId}></span>
397
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>defineProps</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;{</span></span>
398
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FFAB70" })}"${_scopeId}>frontmatter</span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>Post</span></span>
399
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>}&gt;()</span></span>
400
- <span class="line"${_scopeId}></span>
401
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// Display only in Post layout</span></span>
402
- <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}>isPost</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#F97583" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>useLayout</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&#39;post&#39;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>)</span></span>
403
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
404
- <span class="line"${_scopeId}></span>
405
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
406
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>:frontmatter</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;frontmatter&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
407
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>v-if</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;isPost&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_container_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
408
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> Total reading of this article &lt;</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B392F0" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#9ECBFF" })}"${_scopeId}>&quot;busuanzi_value_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
409
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
410
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#FDAEB7", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</span></span>
411
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#85E89D" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>&gt;</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}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>lang</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;ts&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>setup</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
412
- <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}> { Post } </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>
413
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> { useLayout } </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>
414
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>import</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> YunPostMeta </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/components/YunPostMeta.vue&#39;</span></span>
415
- <span class="line"${_scopeId}></span>
416
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>defineProps</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;{</span></span>
417
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#E36209" })}"${_scopeId}>frontmatter</span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>:</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>Post</span></span>
418
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>}&gt;()</span></span>
419
- <span class="line"${_scopeId}></span>
420
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#6A737D" })}"${_scopeId}>// Display only in Post layout</span></span>
421
- <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}>isPost</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#D73A49" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>useLayout</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>(</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&#39;post&#39;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>)</span></span>
422
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>script</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
423
- <span class="line"${_scopeId}></span>
424
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
425
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>:frontmatter</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;frontmatter&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
426
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>v-if</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;isPost&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_container_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
427
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> Total reading of this article &lt;</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#6F42C1" })}"${_scopeId}>id</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>=</span><span style="${ssrRenderStyle({ "color": "#032F62" })}"${_scopeId}>&quot;busuanzi_value_page_pv&quot;</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> </span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>/</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
428
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>span</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
429
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}> &lt;/</span><span style="${ssrRenderStyle({ "color": "#B31D28", "font-style": "italic" })}"${_scopeId}>YunPostMeta</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span>
430
- <span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&lt;/</span><span style="${ssrRenderStyle({ "color": "#22863A" })}"${_scopeId}>template</span><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>&gt;</span></span></code></pre></div><p${_scopeId}>The principle is to cover components. You can also freely cover any other components of the theme.</p></div><h3 lang="zh-CN" id="其他" tabindex="-1"${_scopeId}>其他 `);
431
- _push2(ssrRenderComponent(_component_AppLink, {
432
- class: "header-anchor",
433
- href: "#其他",
434
- "aria-label": 'Permalink to "其他 {lang="zh-CN"}"'
435
- }, {
436
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
437
- if (_push3) {
438
- _push3(`​`);
439
- } else {
440
- return [
441
- createTextVNode("​")
442
- ];
443
- }
444
- }),
445
- _: 1
446
- /* STABLE */
447
- }, _parent2, _scopeId));
448
- _push2(`</h3><h3 lang="en" id="other" tabindex="-1"${_scopeId}>Other `);
449
- _push2(ssrRenderComponent(_component_AppLink, {
450
- class: "header-anchor",
451
- href: "#other",
452
- "aria-label": 'Permalink to "Other {lang="en"}"'
453
- }, {
454
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
455
- if (_push3) {
456
- _push3(`​`);
457
- } else {
458
- return [
459
- createTextVNode("​")
460
- ];
461
- }
462
- }),
463
- _: 1
464
- /* STABLE */
465
- }, _parent2, _scopeId));
466
- _push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>`);
467
- _push2(ssrRenderComponent(_component_AppLink, {
468
- href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
469
- target: "_blank",
470
- rel: "noreferrer"
471
- }, {
472
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
473
- if (_push3) {
474
- _push3(`valaxy-addon-components`);
475
- } else {
476
- return [
477
- createTextVNode("valaxy-addon-components")
478
- ];
479
- }
480
- }),
481
- _: 1
482
- /* STABLE */
483
- }, _parent2, _scopeId));
484
- _push2(` 也是一个充分利用该机制的插件,你也可以参考它的实现方式,以 Valaxy 插件的形式自由发布你的自定义组件。</p><blockquote${_scopeId}><p${_scopeId}>由于发布的是原生的 Vue 组件,所以打包时它将会完全是<strong${_scopeId}>按需</strong>的,无需您额外担忧。</p></blockquote></div><div lang="en"${_scopeId}><p${_scopeId}>`);
485
- _push2(ssrRenderComponent(_component_AppLink, {
486
- href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
487
- target: "_blank",
488
- rel: "noreferrer"
489
- }, {
490
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
491
- if (_push3) {
492
- _push3(`valaxy-addon-components`);
493
- } else {
494
- return [
495
- createTextVNode("valaxy-addon-components")
496
- ];
497
- }
498
- }),
499
- _: 1
500
- /* STABLE */
501
- }, _parent2, _scopeId));
502
- _push2(` is also a plugin that makes full use of this mechanism. You can also refer to its implementation method and freely publish your custom components in the form of Valaxy plugin.</p><blockquote${_scopeId}><p${_scopeId}>Because Vue components published is native, it will be completely <strong${_scopeId}>on-demand</strong> when packaging, without your extra worry.</p></blockquote></div><p${_scopeId}>`);
503
- _push2(ssrRenderComponent(_component_AppLink, {
504
- href: "https://yun.valaxy.site/examples/addons/components",
505
- target: "_blank",
506
- rel: "noreferrer"
507
- }, {
508
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
509
- if (_push3) {
510
- _push3(`使用 valaxy-addon-components 插入公共组件的示例`);
511
- } else {
512
- return [
513
- createTextVNode("使用 valaxy-addon-components 插入公共组件的示例")
514
- ];
515
- }
516
- }),
517
- _: 1
518
- /* STABLE */
519
- }, _parent2, _scopeId));
520
- _push2(`</p>`);
521
- } else {
522
- return [
523
- createVNode("h2", {
524
- lang: "zh-CN",
525
- id: "自动组件注册",
526
- tabindex: "-1"
527
- }, [
528
- createTextVNode("自动组件注册 "),
529
- createVNode(_component_AppLink, {
530
- class: "header-anchor",
531
- href: "#自动组件注册",
532
- "aria-label": 'Permalink to "自动组件注册 {lang="zh-CN"}"'
533
- }, {
534
- default: withCtx(() => [
535
- createTextVNode("​")
536
- ]),
537
- _: 1
538
- /* STABLE */
539
- })
540
- ]),
541
- createVNode("h2", {
542
- lang: "en",
543
- id: "automatic-component-registration",
544
- tabindex: "-1"
545
- }, [
546
- createTextVNode("Automatic Component Registration "),
547
- createVNode(_component_AppLink, {
548
- class: "header-anchor",
549
- href: "#automatic-component-registration",
550
- "aria-label": 'Permalink to "Automatic Component Registration {lang="en"}"'
551
- }, {
552
- default: withCtx(() => [
553
- createTextVNode("​")
554
- ]),
555
- _: 1
556
- /* STABLE */
557
- })
558
- ]),
559
- createVNode("div", { lang: "zh-CN" }, [
560
- createVNode("p", null, [
561
- createTextVNode("新建 "),
562
- createVNode("code", null, "components"),
563
- createTextVNode(" 文件夹,书写任意 Vue 组件。 它们会被自动注册,你甚至可以在你的 Markdown 文件中使用它。")
564
- ]),
565
- createVNode("p", null, [
566
- createTextVNode("如果存在与主题、Valaxy 的同名组件,覆盖顺序为 "),
567
- createVNode("code", null, "用户目录"),
568
- createTextVNode(" -> "),
569
- createVNode("code", null, "主题目录"),
570
- createTextVNode(" -> "),
571
- createVNode("code", null, "Valaxy 客户端目录"),
572
- createTextVNode("。 这也意味着你可以只覆盖主题的某个组件,来达到自定义局部主题的效果!")
573
- ])
574
- ]),
575
- createVNode("div", { lang: "en" }, [
576
- createVNode("p", null, [
577
- createTextVNode("Create "),
578
- createVNode("code", null, "components"),
579
- createTextVNode(" folder, write any Vue components. They will be registered automatically and you can even use them in your Markdown files.")
580
- ]),
581
- createVNode("p", null, [
582
- createTextVNode("If there are components with the same name as the theme and Valaxy, the order of overriding is "),
583
- createVNode("code", null, "user directory"),
584
- createTextVNode(" -> "),
585
- createVNode("code", null, "theme directory"),
586
- createTextVNode(" -> "),
587
- createVNode("code", null, "Valaxy client directory"),
588
- createTextVNode(".")
589
- ]),
590
- createVNode("p", null, "This also means that you can cover one component of the theme to achieve customizing the local theme!")
591
- ]),
592
- createVNode("h3", {
593
- lang: "zh-CN",
594
- id: "自定义覆盖主题组件",
595
- tabindex: "-1"
596
- }, [
597
- createTextVNode("自定义覆盖主题组件 "),
598
- createVNode(_component_AppLink, {
599
- class: "header-anchor",
600
- href: "#自定义覆盖主题组件",
601
- "aria-label": 'Permalink to "自定义覆盖主题组件 {lang="zh-CN"}"'
602
- }, {
603
- default: withCtx(() => [
604
- createTextVNode("​")
605
- ]),
606
- _: 1
607
- /* STABLE */
608
- })
609
- ]),
610
- createVNode("h3", {
611
- lang: "en",
612
- id: "custom-override-theme-component",
613
- tabindex: "-1"
614
- }, [
615
- createTextVNode("Custom Override Theme Component "),
616
- createVNode(_component_AppLink, {
617
- class: "header-anchor",
618
- href: "#custom-override-theme-component",
619
- "aria-label": 'Permalink to "Custom Override Theme Component {lang="en"}"'
620
- }, {
621
- default: withCtx(() => [
622
- createTextVNode("​")
623
- ]),
624
- _: 1
625
- /* STABLE */
626
- })
627
- ]),
628
- createVNode("div", { lang: "zh-CN" }, [
629
- createVNode("p", null, "基于此,你可以非常容易地自定义主题的任何地方!"),
630
- createVNode("p", null, "譬如自定义页脚:"),
631
- createVNode("blockquote", null, [
632
- createVNode("p", null, [
633
- createTextVNode("可参见 "),
634
- createVNode(_component_AppLink, {
635
- href: "https://github.com/YunYouJun/valaxy/blob/main/demo/yun/components/YunFooter.vue",
636
- target: "_blank",
637
- rel: "noreferrer"
638
- }, {
639
- default: withCtx(() => [
640
- createTextVNode("demo/yun/components/YunFooter.vue | GitHub")
641
- ]),
642
- _: 1
643
- /* STABLE */
644
- })
645
- ])
646
- ]),
647
- createVNode("p", null, [
648
- createTextVNode("在博客文件夹中 "),
649
- createVNode("code", null, "components"),
650
- createTextVNode(" 目录下,新建 "),
651
- createVNode("code", null, "YunFooter.vue"),
652
- createTextVNode(" 覆盖你的主题页脚文件。")
653
- ]),
654
- createVNode("p", null, "你可以直接替换掉页脚内容:"),
655
- createVNode("div", { class: "language-vue" }, [
656
- createVNode("button", {
657
- title: "Copy Code",
658
- class: "copy"
659
- }),
660
- createVNode("span", { class: "lang" }, "vue"),
661
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
662
- createVNode("code", null, [
663
- createVNode("span", { class: "line" }, [
664
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
665
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
666
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
667
- ]),
668
- createTextVNode("\n"),
669
- createVNode("span", { class: "line" }, [
670
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
671
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
672
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">页脚内容</"),
673
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
674
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
675
- ]),
676
- createTextVNode("\n"),
677
- createVNode("span", { class: "line" }, [
678
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
679
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
680
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
681
- ])
682
- ])
683
- ]),
684
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
685
- createVNode("code", null, [
686
- createVNode("span", { class: "line" }, [
687
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
688
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
689
- createVNode("span", { style: { "color": "#24292E" } }, ">")
690
- ]),
691
- createTextVNode("\n"),
692
- createVNode("span", { class: "line" }, [
693
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
694
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
695
- createVNode("span", { style: { "color": "#24292E" } }, ">页脚内容</"),
696
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
697
- createVNode("span", { style: { "color": "#24292E" } }, ">")
698
- ]),
699
- createTextVNode("\n"),
700
- createVNode("span", { class: "line" }, [
701
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
702
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
703
- createVNode("span", { style: { "color": "#24292E" } }, ">")
704
- ])
705
- ])
706
- ])
707
- ]),
708
- createVNode("p", null, "也可以继承扩展此前的页脚:"),
709
- createVNode("div", { class: "language-vue" }, [
710
- createVNode("button", {
711
- title: "Copy Code",
712
- class: "copy"
713
- }),
714
- createVNode("span", { class: "lang" }, "vue"),
715
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
716
- createVNode("code", null, [
717
- createVNode("span", { class: "line" }, [
718
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
719
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
720
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
721
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
722
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
723
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
724
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
725
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
726
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
727
- ]),
728
- createTextVNode("\n"),
729
- createVNode("span", { class: "line" }, [
730
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
731
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunFooter "),
732
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
733
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
734
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
735
- ]),
736
- createTextVNode("\n"),
737
- createVNode("span", { class: "line" }, [
738
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
739
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
740
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
741
- ]),
742
- createTextVNode("\n"),
743
- createVNode("span", { class: "line" }),
744
- createTextVNode("\n"),
745
- createVNode("span", { class: "line" }, [
746
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
747
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
748
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
749
- ]),
750
- createTextVNode("\n"),
751
- createVNode("span", { class: "line" }, [
752
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
753
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
754
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
755
- ]),
756
- createTextVNode("\n"),
757
- createVNode("span", { class: "line" }, [
758
- createVNode("span", { style: { "color": "#E1E4E8" } }, " 自定义页脚内容")
759
- ]),
760
- createTextVNode("\n"),
761
- createVNode("span", { class: "line" }, [
762
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
763
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
764
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
765
- ]),
766
- createTextVNode("\n"),
767
- createVNode("span", { class: "line" }, [
768
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
769
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
770
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
771
- ])
772
- ])
773
- ]),
774
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
775
- createVNode("code", null, [
776
- createVNode("span", { class: "line" }, [
777
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
778
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
779
- createVNode("span", { style: { "color": "#24292E" } }, " "),
780
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
781
- createVNode("span", { style: { "color": "#24292E" } }, "="),
782
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
783
- createVNode("span", { style: { "color": "#24292E" } }, " "),
784
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
785
- createVNode("span", { style: { "color": "#24292E" } }, ">")
786
- ]),
787
- createTextVNode("\n"),
788
- createVNode("span", { class: "line" }, [
789
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
790
- createVNode("span", { style: { "color": "#24292E" } }, " YunFooter "),
791
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
792
- createVNode("span", { style: { "color": "#24292E" } }, " "),
793
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
794
- ]),
795
- createTextVNode("\n"),
796
- createVNode("span", { class: "line" }, [
797
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
798
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
799
- createVNode("span", { style: { "color": "#24292E" } }, ">")
800
- ]),
801
- createTextVNode("\n"),
802
- createVNode("span", { class: "line" }),
803
- createTextVNode("\n"),
804
- createVNode("span", { class: "line" }, [
805
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
806
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
807
- createVNode("span", { style: { "color": "#24292E" } }, ">")
808
- ]),
809
- createTextVNode("\n"),
810
- createVNode("span", { class: "line" }, [
811
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
812
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
813
- createVNode("span", { style: { "color": "#24292E" } }, ">")
814
- ]),
815
- createTextVNode("\n"),
816
- createVNode("span", { class: "line" }, [
817
- createVNode("span", { style: { "color": "#24292E" } }, " 自定义页脚内容")
818
- ]),
819
- createTextVNode("\n"),
820
- createVNode("span", { class: "line" }, [
821
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
822
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
823
- createVNode("span", { style: { "color": "#24292E" } }, ">")
824
- ]),
825
- createTextVNode("\n"),
826
- createVNode("span", { class: "line" }, [
827
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
828
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
829
- createVNode("span", { style: { "color": "#24292E" } }, ">")
830
- ])
831
- ])
832
- ])
833
- ])
834
- ]),
835
- createVNode("div", { lang: "en" }, [
836
- createVNode("p", null, "Based on this, you can easily customize the theme anywhere!"),
837
- createVNode("p", null, "For example, custom footer:"),
838
- createVNode("blockquote", null, [
839
- createVNode("p", null, [
840
- createTextVNode("Refer to "),
841
- createVNode(_component_AppLink, {
842
- href: "https://github.com/YunYouJun/valaxy/blob/main/demo/yun/components/YunFooter.vue",
843
- target: "_blank",
844
- rel: "noreferrer"
845
- }, {
846
- default: withCtx(() => [
847
- createTextVNode("demo/yun/components/YunFooter.vue | GitHub")
848
- ]),
849
- _: 1
850
- /* STABLE */
851
- })
852
- ])
853
- ]),
854
- createVNode("p", null, [
855
- createTextVNode("In the "),
856
- createVNode("code", null, "components"),
857
- createTextVNode(" directory of the blog folder, create a new "),
858
- createVNode("code", null, "YunFooter.vue"),
859
- createTextVNode(" to overwrite the footer file of your theme.")
860
- ]),
861
- createVNode("p", null, "You can replace the footer directly:"),
862
- createVNode("div", { class: "language-vue" }, [
863
- createVNode("button", {
864
- title: "Copy Code",
865
- class: "copy"
866
- }),
867
- createVNode("span", { class: "lang" }, "vue"),
868
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
869
- createVNode("code", null, [
870
- createVNode("span", { class: "line" }, [
871
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
872
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
873
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
874
- ]),
875
- createTextVNode("\n"),
876
- createVNode("span", { class: "line" }, [
877
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
878
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
879
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">Footer content</"),
880
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
881
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
882
- ]),
883
- createTextVNode("\n"),
884
- createVNode("span", { class: "line" }, [
885
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
886
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
887
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
888
- ])
889
- ])
890
- ]),
891
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
892
- createVNode("code", null, [
893
- createVNode("span", { class: "line" }, [
894
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
895
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
896
- createVNode("span", { style: { "color": "#24292E" } }, ">")
897
- ]),
898
- createTextVNode("\n"),
899
- createVNode("span", { class: "line" }, [
900
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
901
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
902
- createVNode("span", { style: { "color": "#24292E" } }, ">Footer content</"),
903
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
904
- createVNode("span", { style: { "color": "#24292E" } }, ">")
905
- ]),
906
- createTextVNode("\n"),
907
- createVNode("span", { class: "line" }, [
908
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
909
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
910
- createVNode("span", { style: { "color": "#24292E" } }, ">")
911
- ])
912
- ])
913
- ])
914
- ]),
915
- createVNode("p", null, "You can also inherit and extend the previous footer:"),
916
- createVNode("div", { class: "language-vue" }, [
917
- createVNode("button", {
918
- title: "Copy Code",
919
- class: "copy"
920
- }),
921
- createVNode("span", { class: "lang" }, "vue"),
922
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
923
- createVNode("code", null, [
924
- createVNode("span", { class: "line" }, [
925
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
926
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
927
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
928
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
929
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
930
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
931
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
932
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
933
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
934
- ]),
935
- createTextVNode("\n"),
936
- createVNode("span", { class: "line" }, [
937
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
938
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunFooter "),
939
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
940
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
941
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
942
- ]),
943
- createTextVNode("\n"),
944
- createVNode("span", { class: "line" }, [
945
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
946
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
947
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
948
- ]),
949
- createTextVNode("\n"),
950
- createVNode("span", { class: "line" }),
951
- createTextVNode("\n"),
952
- createVNode("span", { class: "line" }, [
953
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
954
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
955
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
956
- ]),
957
- createTextVNode("\n"),
958
- createVNode("span", { class: "line" }, [
959
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
960
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
961
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
962
- ]),
963
- createTextVNode("\n"),
964
- createVNode("span", { class: "line" }, [
965
- createVNode("span", { style: { "color": "#E1E4E8" } }, " Customize footer content")
966
- ]),
967
- createTextVNode("\n"),
968
- createVNode("span", { class: "line" }, [
969
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
970
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
971
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
972
- ]),
973
- createTextVNode("\n"),
974
- createVNode("span", { class: "line" }, [
975
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
976
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
977
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
978
- ])
979
- ])
980
- ]),
981
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
982
- createVNode("code", null, [
983
- createVNode("span", { class: "line" }, [
984
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
985
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
986
- createVNode("span", { style: { "color": "#24292E" } }, " "),
987
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
988
- createVNode("span", { style: { "color": "#24292E" } }, "="),
989
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
990
- createVNode("span", { style: { "color": "#24292E" } }, " "),
991
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
992
- createVNode("span", { style: { "color": "#24292E" } }, ">")
993
- ]),
994
- createTextVNode("\n"),
995
- createVNode("span", { class: "line" }, [
996
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
997
- createVNode("span", { style: { "color": "#24292E" } }, " YunFooter "),
998
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
999
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1000
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
1001
- ]),
1002
- createTextVNode("\n"),
1003
- createVNode("span", { class: "line" }, [
1004
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1005
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1006
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1007
- ]),
1008
- createTextVNode("\n"),
1009
- createVNode("span", { class: "line" }),
1010
- createTextVNode("\n"),
1011
- createVNode("span", { class: "line" }, [
1012
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1013
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1014
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1015
- ]),
1016
- createTextVNode("\n"),
1017
- createVNode("span", { class: "line" }, [
1018
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1019
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1020
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1021
- ]),
1022
- createTextVNode("\n"),
1023
- createVNode("span", { class: "line" }, [
1024
- createVNode("span", { style: { "color": "#24292E" } }, " Customize footer content")
1025
- ]),
1026
- createTextVNode("\n"),
1027
- createVNode("span", { class: "line" }, [
1028
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
1029
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1030
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1031
- ]),
1032
- createTextVNode("\n"),
1033
- createVNode("span", { class: "line" }, [
1034
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1035
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1036
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1037
- ])
1038
- ])
1039
- ])
1040
- ])
1041
- ]),
1042
- createVNode("h3", {
1043
- lang: "zh-CN",
1044
- id: "更多示例",
1045
- tabindex: "-1"
1046
- }, [
1047
- createTextVNode("更多示例 "),
1048
- createVNode(_component_AppLink, {
1049
- class: "header-anchor",
1050
- href: "#更多示例",
1051
- "aria-label": 'Permalink to "更多示例 {lang="zh-CN"}"'
1052
- }, {
1053
- default: withCtx(() => [
1054
- createTextVNode("​")
1055
- ]),
1056
- _: 1
1057
- /* STABLE */
1058
- })
1059
- ]),
1060
- createVNode("h3", {
1061
- lang: "en",
1062
- id: "more-examples",
1063
- tabindex: "-1"
1064
- }, [
1065
- createTextVNode("More Examples "),
1066
- createVNode(_component_AppLink, {
1067
- class: "header-anchor",
1068
- href: "#more-examples",
1069
- "aria-label": 'Permalink to "More Examples {lang="en"}"'
1070
- }, {
1071
- default: withCtx(() => [
1072
- createTextVNode("​")
1073
- ]),
1074
- _: 1
1075
- /* STABLE */
1076
- })
1077
- ]),
1078
- createVNode("h3", {
1079
- lang: "zh-CN",
1080
- id: "插入不蒜子统计",
1081
- tabindex: "-1"
1082
- }, [
1083
- createTextVNode("插入不蒜子统计 "),
1084
- createVNode(_component_AppLink, {
1085
- class: "header-anchor",
1086
- href: "#插入不蒜子统计",
1087
- "aria-label": 'Permalink to "插入不蒜子统计 {lang="zh-CN"}"'
1088
- }, {
1089
- default: withCtx(() => [
1090
- createTextVNode("​")
1091
- ]),
1092
- _: 1
1093
- /* STABLE */
1094
- })
1095
- ]),
1096
- createVNode("h3", {
1097
- lang: "en",
1098
- id: "insert-busuanzi-statistics",
1099
- tabindex: "-1"
1100
- }, [
1101
- createTextVNode("Insert Busuanzi Statistics "),
1102
- createVNode(_component_AppLink, {
1103
- class: "header-anchor",
1104
- href: "#insert-busuanzi-statistics",
1105
- "aria-label": 'Permalink to "Insert Busuanzi Statistics {lang="en"}"'
1106
- }, {
1107
- default: withCtx(() => [
1108
- createTextVNode("​")
1109
- ]),
1110
- _: 1
1111
- /* STABLE */
1112
- })
1113
- ]),
1114
- createVNode("div", { lang: "zh-CN" }, [
1115
- createVNode("blockquote", null, [
1116
- createVNode("p", null, [
1117
- createVNode(_component_AppLink, {
1118
- href: "http://ibruce.info/2015/04/04/busuanzi/",
1119
- target: "_blank",
1120
- rel: "noreferrer"
1121
- }, {
1122
- default: withCtx(() => [
1123
- createTextVNode("不蒜子统计")
1124
- ]),
1125
- _: 1
1126
- /* STABLE */
1127
- })
1128
- ])
1129
- ]),
1130
- createVNode("p", null, "以 valaxy-theme-yun 为例:"),
1131
- createVNode("blockquote", null, [
1132
- createVNode("p", null, "默认指在你的博客文件夹下进行操作。")
1133
- ]),
1134
- createVNode("p", null, [
1135
- createTextVNode("在 "),
1136
- createVNode("code", null, "components/"),
1137
- createTextVNode(" 文件夹下新建 "),
1138
- createVNode("code", null, "YunFooter.vue"),
1139
- createTextVNode(" 以自定义页脚并显示不蒜子统计。 你可以根据你的需要自由定制它的样式。")
1140
- ]),
1141
- createVNode("div", { class: "language-vue" }, [
1142
- createVNode("button", {
1143
- title: "Copy Code",
1144
- class: "copy"
1145
- }),
1146
- createVNode("span", { class: "lang" }, "vue"),
1147
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1148
- createVNode("code", null, [
1149
- createVNode("span", { class: "line" }, [
1150
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1151
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1152
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1153
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
1154
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1155
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
1156
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1157
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
1158
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1159
- ]),
1160
- createTextVNode("\n"),
1161
- createVNode("span", { class: "line" }, [
1162
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1163
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useScriptTag } "),
1164
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1165
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1166
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'@vueuse/core'")
1167
- ]),
1168
- createTextVNode("\n"),
1169
- createVNode("span", { class: "line" }, [
1170
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1171
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunFooter "),
1172
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1173
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1174
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
1175
- ]),
1176
- createTextVNode("\n"),
1177
- createVNode("span", { class: "line" }),
1178
- createTextVNode("\n"),
1179
- createVNode("span", { class: "line" }, [
1180
- createVNode("span", { style: { "color": "#B392F0" } }, "useScriptTag"),
1181
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
1182
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
1183
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
1184
- ]),
1185
- createTextVNode("\n"),
1186
- createVNode("span", { class: "line" }, [
1187
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1188
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1189
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1190
- ]),
1191
- createTextVNode("\n"),
1192
- createVNode("span", { class: "line" }),
1193
- createTextVNode("\n"),
1194
- createVNode("span", { class: "line" }, [
1195
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1196
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1197
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1198
- ]),
1199
- createTextVNode("\n"),
1200
- createVNode("span", { class: "line" }, [
1201
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1202
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
1203
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1204
- ]),
1205
- createTextVNode("\n"),
1206
- createVNode("span", { class: "line" }, [
1207
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1208
- createVNode("span", { style: { "color": "#6A737D" } }, "<!-- 自定义页脚内容 -->")
1209
- ]),
1210
- createTextVNode("\n"),
1211
- createVNode("span", { class: "line" }, [
1212
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1213
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1214
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站总访问量 <"),
1215
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1216
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1217
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1218
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1219
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_pv"'),
1220
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1221
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
1222
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 次</"),
1223
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1224
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1225
- ]),
1226
- createTextVNode("\n"),
1227
- createVNode("span", { class: "line" }, [
1228
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1229
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1230
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">本站访客数 <"),
1231
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1232
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1233
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1234
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1235
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_uv"'),
1236
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1237
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
1238
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 人次</"),
1239
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1240
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1241
- ]),
1242
- createTextVNode("\n"),
1243
- createVNode("span", { class: "line" }, [
1244
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
1245
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
1246
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1247
- ]),
1248
- createTextVNode("\n"),
1249
- createVNode("span", { class: "line" }, [
1250
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1251
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1252
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1253
- ])
1254
- ])
1255
- ]),
1256
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1257
- createVNode("code", null, [
1258
- createVNode("span", { class: "line" }, [
1259
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1260
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1261
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1262
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
1263
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1264
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
1265
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1266
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
1267
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1268
- ]),
1269
- createTextVNode("\n"),
1270
- createVNode("span", { class: "line" }, [
1271
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1272
- createVNode("span", { style: { "color": "#24292E" } }, " { useScriptTag } "),
1273
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1274
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1275
- createVNode("span", { style: { "color": "#032F62" } }, "'@vueuse/core'")
1276
- ]),
1277
- createTextVNode("\n"),
1278
- createVNode("span", { class: "line" }, [
1279
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1280
- createVNode("span", { style: { "color": "#24292E" } }, " YunFooter "),
1281
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1282
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1283
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
1284
- ]),
1285
- createTextVNode("\n"),
1286
- createVNode("span", { class: "line" }),
1287
- createTextVNode("\n"),
1288
- createVNode("span", { class: "line" }, [
1289
- createVNode("span", { style: { "color": "#6F42C1" } }, "useScriptTag"),
1290
- createVNode("span", { style: { "color": "#24292E" } }, "("),
1291
- createVNode("span", { style: { "color": "#032F62" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
1292
- createVNode("span", { style: { "color": "#24292E" } }, ")")
1293
- ]),
1294
- createTextVNode("\n"),
1295
- createVNode("span", { class: "line" }, [
1296
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1297
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1298
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1299
- ]),
1300
- createTextVNode("\n"),
1301
- createVNode("span", { class: "line" }),
1302
- createTextVNode("\n"),
1303
- createVNode("span", { class: "line" }, [
1304
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1305
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1306
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1307
- ]),
1308
- createTextVNode("\n"),
1309
- createVNode("span", { class: "line" }, [
1310
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1311
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1312
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1313
- ]),
1314
- createTextVNode("\n"),
1315
- createVNode("span", { class: "line" }, [
1316
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1317
- createVNode("span", { style: { "color": "#6A737D" } }, "<!-- 自定义页脚内容 -->")
1318
- ]),
1319
- createTextVNode("\n"),
1320
- createVNode("span", { class: "line" }, [
1321
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1322
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1323
- createVNode("span", { style: { "color": "#24292E" } }, ">本站总访问量 <"),
1324
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1325
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1326
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1327
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1328
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_pv"'),
1329
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1330
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
1331
- createVNode("span", { style: { "color": "#24292E" } }, "> 次</"),
1332
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1333
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1334
- ]),
1335
- createTextVNode("\n"),
1336
- createVNode("span", { class: "line" }, [
1337
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1338
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1339
- createVNode("span", { style: { "color": "#24292E" } }, ">本站访客数 <"),
1340
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1341
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1342
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1343
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1344
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_uv"'),
1345
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1346
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
1347
- createVNode("span", { style: { "color": "#24292E" } }, "> 人次</"),
1348
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1349
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1350
- ]),
1351
- createTextVNode("\n"),
1352
- createVNode("span", { class: "line" }, [
1353
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
1354
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1355
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1356
- ]),
1357
- createTextVNode("\n"),
1358
- createVNode("span", { class: "line" }, [
1359
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1360
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1361
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1362
- ])
1363
- ])
1364
- ])
1365
- ]),
1366
- createVNode("p", null, [
1367
- createTextVNode("在 "),
1368
- createVNode("code", null, "components/"),
1369
- createTextVNode(" 文件夹下新建 "),
1370
- createVNode("code", null, "YunPostMeta.vue"),
1371
- createTextVNode(" 以自定义每篇文章的信息并显示不蒜子单篇文章统计。")
1372
- ]),
1373
- createVNode("div", { class: "language-vue" }, [
1374
- createVNode("button", {
1375
- title: "Copy Code",
1376
- class: "copy"
1377
- }),
1378
- createVNode("span", { class: "lang" }, "vue"),
1379
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1380
- createVNode("code", null, [
1381
- createVNode("span", { class: "line" }, [
1382
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1383
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1384
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1385
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
1386
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1387
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
1388
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1389
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
1390
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1391
- ]),
1392
- createTextVNode("\n"),
1393
- createVNode("span", { class: "line" }, [
1394
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1395
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1396
- createVNode("span", { style: { "color": "#F97583" } }, "type"),
1397
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { Post } "),
1398
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1399
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1400
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1401
- ]),
1402
- createTextVNode("\n"),
1403
- createVNode("span", { class: "line" }, [
1404
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1405
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useLayout } "),
1406
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1407
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1408
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1409
- ]),
1410
- createTextVNode("\n"),
1411
- createVNode("span", { class: "line" }, [
1412
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1413
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunPostMeta "),
1414
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1415
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1416
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunPostMeta.vue'")
1417
- ]),
1418
- createTextVNode("\n"),
1419
- createVNode("span", { class: "line" }),
1420
- createTextVNode("\n"),
1421
- createVNode("span", { class: "line" }, [
1422
- createVNode("span", { style: { "color": "#B392F0" } }, "defineProps"),
1423
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<{")
1424
- ]),
1425
- createTextVNode("\n"),
1426
- createVNode("span", { class: "line" }, [
1427
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1428
- createVNode("span", { style: { "color": "#FFAB70" } }, "frontmatter"),
1429
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
1430
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1431
- createVNode("span", { style: { "color": "#B392F0" } }, "Post")
1432
- ]),
1433
- createTextVNode("\n"),
1434
- createVNode("span", { class: "line" }, [
1435
- createVNode("span", { style: { "color": "#E1E4E8" } }, "}>()")
1436
- ]),
1437
- createTextVNode("\n"),
1438
- createVNode("span", { class: "line" }),
1439
- createTextVNode("\n"),
1440
- createVNode("span", { class: "line" }, [
1441
- createVNode("span", { style: { "color": "#6A737D" } }, "// 仅在 Post 布局显示")
1442
- ]),
1443
- createTextVNode("\n"),
1444
- createVNode("span", { class: "line" }, [
1445
- createVNode("span", { style: { "color": "#F97583" } }, "const"),
1446
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1447
- createVNode("span", { style: { "color": "#79B8FF" } }, "isPost"),
1448
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1449
- createVNode("span", { style: { "color": "#F97583" } }, "="),
1450
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1451
- createVNode("span", { style: { "color": "#B392F0" } }, "useLayout"),
1452
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
1453
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'post'"),
1454
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
1455
- ]),
1456
- createTextVNode("\n"),
1457
- createVNode("span", { class: "line" }, [
1458
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1459
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1460
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1461
- ]),
1462
- createTextVNode("\n"),
1463
- createVNode("span", { class: "line" }),
1464
- createTextVNode("\n"),
1465
- createVNode("span", { class: "line" }, [
1466
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1467
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1468
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1469
- ]),
1470
- createTextVNode("\n"),
1471
- createVNode("span", { class: "line" }, [
1472
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1473
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunPostMeta"),
1474
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1475
- createVNode("span", { style: { "color": "#B392F0" } }, ":frontmatter"),
1476
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1477
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"frontmatter"'),
1478
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1479
- ]),
1480
- createTextVNode("\n"),
1481
- createVNode("span", { class: "line" }, [
1482
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1483
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1484
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1485
- createVNode("span", { style: { "color": "#B392F0" } }, "v-if"),
1486
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1487
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"isPost"'),
1488
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1489
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1490
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1491
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_container_page_pv"'),
1492
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1493
- ]),
1494
- createTextVNode("\n"),
1495
- createVNode("span", { class: "line" }, [
1496
- createVNode("span", { style: { "color": "#E1E4E8" } }, " 本文总阅读量 <"),
1497
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1498
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1499
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1500
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1501
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_page_pv"'),
1502
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1503
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
1504
- createVNode("span", { style: { "color": "#E1E4E8" } }, "> 次")
1505
- ]),
1506
- createTextVNode("\n"),
1507
- createVNode("span", { class: "line" }, [
1508
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
1509
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1510
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1511
- ]),
1512
- createTextVNode("\n"),
1513
- createVNode("span", { class: "line" }, [
1514
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
1515
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunPostMeta"),
1516
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1517
- ]),
1518
- createTextVNode("\n"),
1519
- createVNode("span", { class: "line" }, [
1520
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1521
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1522
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1523
- ])
1524
- ])
1525
- ]),
1526
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1527
- createVNode("code", null, [
1528
- createVNode("span", { class: "line" }, [
1529
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1530
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1531
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1532
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
1533
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1534
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
1535
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1536
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
1537
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1538
- ]),
1539
- createTextVNode("\n"),
1540
- createVNode("span", { class: "line" }, [
1541
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1542
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1543
- createVNode("span", { style: { "color": "#D73A49" } }, "type"),
1544
- createVNode("span", { style: { "color": "#24292E" } }, " { Post } "),
1545
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1546
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1547
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
1548
- ]),
1549
- createTextVNode("\n"),
1550
- createVNode("span", { class: "line" }, [
1551
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1552
- createVNode("span", { style: { "color": "#24292E" } }, " { useLayout } "),
1553
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1554
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1555
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
1556
- ]),
1557
- createTextVNode("\n"),
1558
- createVNode("span", { class: "line" }, [
1559
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1560
- createVNode("span", { style: { "color": "#24292E" } }, " YunPostMeta "),
1561
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1562
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1563
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunPostMeta.vue'")
1564
- ]),
1565
- createTextVNode("\n"),
1566
- createVNode("span", { class: "line" }),
1567
- createTextVNode("\n"),
1568
- createVNode("span", { class: "line" }, [
1569
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineProps"),
1570
- createVNode("span", { style: { "color": "#24292E" } }, "<{")
1571
- ]),
1572
- createTextVNode("\n"),
1573
- createVNode("span", { class: "line" }, [
1574
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1575
- createVNode("span", { style: { "color": "#E36209" } }, "frontmatter"),
1576
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
1577
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1578
- createVNode("span", { style: { "color": "#6F42C1" } }, "Post")
1579
- ]),
1580
- createTextVNode("\n"),
1581
- createVNode("span", { class: "line" }, [
1582
- createVNode("span", { style: { "color": "#24292E" } }, "}>()")
1583
- ]),
1584
- createTextVNode("\n"),
1585
- createVNode("span", { class: "line" }),
1586
- createTextVNode("\n"),
1587
- createVNode("span", { class: "line" }, [
1588
- createVNode("span", { style: { "color": "#6A737D" } }, "// 仅在 Post 布局显示")
1589
- ]),
1590
- createTextVNode("\n"),
1591
- createVNode("span", { class: "line" }, [
1592
- createVNode("span", { style: { "color": "#D73A49" } }, "const"),
1593
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1594
- createVNode("span", { style: { "color": "#005CC5" } }, "isPost"),
1595
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1596
- createVNode("span", { style: { "color": "#D73A49" } }, "="),
1597
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1598
- createVNode("span", { style: { "color": "#6F42C1" } }, "useLayout"),
1599
- createVNode("span", { style: { "color": "#24292E" } }, "("),
1600
- createVNode("span", { style: { "color": "#032F62" } }, "'post'"),
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": "#22863A" } }, "script"),
1607
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1608
- ]),
1609
- createTextVNode("\n"),
1610
- createVNode("span", { class: "line" }),
1611
- createTextVNode("\n"),
1612
- createVNode("span", { class: "line" }, [
1613
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1614
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1615
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1616
- ]),
1617
- createTextVNode("\n"),
1618
- createVNode("span", { class: "line" }, [
1619
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1620
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunPostMeta"),
1621
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1622
- createVNode("span", { style: { "color": "#6F42C1" } }, ":frontmatter"),
1623
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1624
- createVNode("span", { style: { "color": "#032F62" } }, '"frontmatter"'),
1625
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1626
- ]),
1627
- createTextVNode("\n"),
1628
- createVNode("span", { class: "line" }, [
1629
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1630
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1631
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1632
- createVNode("span", { style: { "color": "#6F42C1" } }, "v-if"),
1633
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1634
- createVNode("span", { style: { "color": "#032F62" } }, '"isPost"'),
1635
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1636
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1637
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1638
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_container_page_pv"'),
1639
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1640
- ]),
1641
- createTextVNode("\n"),
1642
- createVNode("span", { class: "line" }, [
1643
- createVNode("span", { style: { "color": "#24292E" } }, " 本文总阅读量 <"),
1644
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1645
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1646
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1647
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1648
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_page_pv"'),
1649
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1650
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
1651
- createVNode("span", { style: { "color": "#24292E" } }, "> 次")
1652
- ]),
1653
- createTextVNode("\n"),
1654
- createVNode("span", { class: "line" }, [
1655
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
1656
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1657
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1658
- ]),
1659
- createTextVNode("\n"),
1660
- createVNode("span", { class: "line" }, [
1661
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
1662
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunPostMeta"),
1663
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1664
- ]),
1665
- createTextVNode("\n"),
1666
- createVNode("span", { class: "line" }, [
1667
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1668
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1669
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1670
- ])
1671
- ])
1672
- ])
1673
- ]),
1674
- createVNode("p", null, "原理即覆盖组件,您还可以自由覆盖主题的任意其他组件。")
1675
- ]),
1676
- createVNode("div", { lang: "en" }, [
1677
- createVNode("blockquote", null, [
1678
- createVNode("p", null, [
1679
- createVNode(_component_AppLink, {
1680
- href: "http://ibruce.info/2015/04/04/busuanzi/",
1681
- target: "_blank",
1682
- rel: "noreferrer"
1683
- }, {
1684
- default: withCtx(() => [
1685
- createTextVNode("Busuanzi Statistics")
1686
- ]),
1687
- _: 1
1688
- /* STABLE */
1689
- })
1690
- ])
1691
- ]),
1692
- createVNode("p", null, "Take valaxy-theme-yun as an example:"),
1693
- createVNode("blockquote", null, [
1694
- createVNode("p", null, "By default, operate in your blog folder.")
1695
- ]),
1696
- createVNode("p", null, [
1697
- createTextVNode("Create a new "),
1698
- createVNode("code", null, "YunFooter.vue"),
1699
- createTextVNode(" under the "),
1700
- createVNode("code", null, "components/"),
1701
- createTextVNode(" folder to customize the footer and display "),
1702
- createVNode("em", null, "Busuanzi Statistics"),
1703
- createTextVNode(". You can customize its style freely according to your needs.")
1704
- ]),
1705
- createVNode("div", { class: "language-vue" }, [
1706
- createVNode("button", {
1707
- title: "Copy Code",
1708
- class: "copy"
1709
- }),
1710
- createVNode("span", { class: "lang" }, "vue"),
1711
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1712
- createVNode("code", null, [
1713
- createVNode("span", { class: "line" }, [
1714
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1715
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1716
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1717
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
1718
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1719
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
1720
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1721
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
1722
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1723
- ]),
1724
- createTextVNode("\n"),
1725
- createVNode("span", { class: "line" }, [
1726
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1727
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useScriptTag } "),
1728
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1729
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1730
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'@vueuse/core'")
1731
- ]),
1732
- createTextVNode("\n"),
1733
- createVNode("span", { class: "line" }, [
1734
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1735
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunFooter "),
1736
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1737
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1738
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
1739
- ]),
1740
- createTextVNode("\n"),
1741
- createVNode("span", { class: "line" }),
1742
- createTextVNode("\n"),
1743
- createVNode("span", { class: "line" }, [
1744
- createVNode("span", { style: { "color": "#B392F0" } }, "useScriptTag"),
1745
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
1746
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
1747
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
1748
- ]),
1749
- createTextVNode("\n"),
1750
- createVNode("span", { class: "line" }, [
1751
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1752
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1753
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1754
- ]),
1755
- createTextVNode("\n"),
1756
- createVNode("span", { class: "line" }),
1757
- createTextVNode("\n"),
1758
- createVNode("span", { class: "line" }, [
1759
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1760
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1761
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1762
- ]),
1763
- createTextVNode("\n"),
1764
- createVNode("span", { class: "line" }, [
1765
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1766
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
1767
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1768
- ]),
1769
- createTextVNode("\n"),
1770
- createVNode("span", { class: "line" }, [
1771
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1772
- createVNode("span", { style: { "color": "#6A737D" } }, "<!-- customize footer content -->")
1773
- ]),
1774
- createTextVNode("\n"),
1775
- createVNode("span", { class: "line" }, [
1776
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1777
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1778
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">Total visits of this site <"),
1779
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1780
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1781
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1782
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1783
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_pv"'),
1784
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1785
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
1786
- createVNode("span", { style: { "color": "#E1E4E8" } }, "></"),
1787
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1788
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1789
- ]),
1790
- createTextVNode("\n"),
1791
- createVNode("span", { class: "line" }, [
1792
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
1793
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1794
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">Number of visitors <"),
1795
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
1796
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1797
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
1798
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1799
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_site_uv"'),
1800
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1801
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
1802
- createVNode("span", { style: { "color": "#E1E4E8" } }, "></"),
1803
- createVNode("span", { style: { "color": "#85E89D" } }, "div"),
1804
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1805
- ]),
1806
- createTextVNode("\n"),
1807
- createVNode("span", { class: "line" }, [
1808
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
1809
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunFooter"),
1810
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1811
- ]),
1812
- createTextVNode("\n"),
1813
- createVNode("span", { class: "line" }, [
1814
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
1815
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
1816
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1817
- ])
1818
- ])
1819
- ]),
1820
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
1821
- createVNode("code", null, [
1822
- createVNode("span", { class: "line" }, [
1823
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1824
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1825
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1826
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
1827
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1828
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
1829
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1830
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
1831
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1832
- ]),
1833
- createTextVNode("\n"),
1834
- createVNode("span", { class: "line" }, [
1835
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1836
- createVNode("span", { style: { "color": "#24292E" } }, " { useScriptTag } "),
1837
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1838
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1839
- createVNode("span", { style: { "color": "#032F62" } }, "'@vueuse/core'")
1840
- ]),
1841
- createTextVNode("\n"),
1842
- createVNode("span", { class: "line" }, [
1843
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
1844
- createVNode("span", { style: { "color": "#24292E" } }, " YunFooter "),
1845
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
1846
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1847
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunFooter.vue'")
1848
- ]),
1849
- createTextVNode("\n"),
1850
- createVNode("span", { class: "line" }),
1851
- createTextVNode("\n"),
1852
- createVNode("span", { class: "line" }, [
1853
- createVNode("span", { style: { "color": "#6F42C1" } }, "useScriptTag"),
1854
- createVNode("span", { style: { "color": "#24292E" } }, "("),
1855
- createVNode("span", { style: { "color": "#032F62" } }, "'//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'"),
1856
- createVNode("span", { style: { "color": "#24292E" } }, ")")
1857
- ]),
1858
- createTextVNode("\n"),
1859
- createVNode("span", { class: "line" }, [
1860
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1861
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
1862
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1863
- ]),
1864
- createTextVNode("\n"),
1865
- createVNode("span", { class: "line" }),
1866
- createTextVNode("\n"),
1867
- createVNode("span", { class: "line" }, [
1868
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
1869
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1870
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1871
- ]),
1872
- createTextVNode("\n"),
1873
- createVNode("span", { class: "line" }, [
1874
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1875
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1876
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1877
- ]),
1878
- createTextVNode("\n"),
1879
- createVNode("span", { class: "line" }, [
1880
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1881
- createVNode("span", { style: { "color": "#6A737D" } }, "<!-- customize footer content -->")
1882
- ]),
1883
- createTextVNode("\n"),
1884
- createVNode("span", { class: "line" }, [
1885
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1886
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1887
- createVNode("span", { style: { "color": "#24292E" } }, ">Total visits of this site <"),
1888
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1889
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1890
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1891
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1892
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_pv"'),
1893
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1894
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
1895
- createVNode("span", { style: { "color": "#24292E" } }, "></"),
1896
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1897
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1898
- ]),
1899
- createTextVNode("\n"),
1900
- createVNode("span", { class: "line" }, [
1901
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
1902
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1903
- createVNode("span", { style: { "color": "#24292E" } }, ">Number of visitors <"),
1904
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
1905
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1906
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
1907
- createVNode("span", { style: { "color": "#24292E" } }, "="),
1908
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_site_uv"'),
1909
- createVNode("span", { style: { "color": "#24292E" } }, " "),
1910
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
1911
- createVNode("span", { style: { "color": "#24292E" } }, "></"),
1912
- createVNode("span", { style: { "color": "#22863A" } }, "div"),
1913
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1914
- ]),
1915
- createTextVNode("\n"),
1916
- createVNode("span", { class: "line" }, [
1917
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
1918
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunFooter"),
1919
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1920
- ]),
1921
- createTextVNode("\n"),
1922
- createVNode("span", { class: "line" }, [
1923
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
1924
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
1925
- createVNode("span", { style: { "color": "#24292E" } }, ">")
1926
- ])
1927
- ])
1928
- ])
1929
- ]),
1930
- createVNode("p", null, [
1931
- createTextVNode("Create a new "),
1932
- createVNode("code", null, "YunPostMeta.vue"),
1933
- createTextVNode(" under the "),
1934
- createVNode("code", null, "components/"),
1935
- createTextVNode(" folder to customize the information of each article and display the statistics of each article.")
1936
- ]),
1937
- createVNode("div", { class: "language-vue" }, [
1938
- createVNode("button", {
1939
- title: "Copy Code",
1940
- class: "copy"
1941
- }),
1942
- createVNode("span", { class: "lang" }, "vue"),
1943
- createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
1944
- createVNode("code", null, [
1945
- createVNode("span", { class: "line" }, [
1946
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
1947
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
1948
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1949
- createVNode("span", { style: { "color": "#B392F0" } }, "lang"),
1950
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
1951
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"ts"'),
1952
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1953
- createVNode("span", { style: { "color": "#B392F0" } }, "setup"),
1954
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
1955
- ]),
1956
- createTextVNode("\n"),
1957
- createVNode("span", { class: "line" }, [
1958
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1959
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1960
- createVNode("span", { style: { "color": "#F97583" } }, "type"),
1961
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { Post } "),
1962
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1963
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1964
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1965
- ]),
1966
- createTextVNode("\n"),
1967
- createVNode("span", { class: "line" }, [
1968
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1969
- createVNode("span", { style: { "color": "#E1E4E8" } }, " { useLayout } "),
1970
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1971
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1972
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy'")
1973
- ]),
1974
- createTextVNode("\n"),
1975
- createVNode("span", { class: "line" }, [
1976
- createVNode("span", { style: { "color": "#F97583" } }, "import"),
1977
- createVNode("span", { style: { "color": "#E1E4E8" } }, " YunPostMeta "),
1978
- createVNode("span", { style: { "color": "#F97583" } }, "from"),
1979
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1980
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'valaxy-theme-yun/components/YunPostMeta.vue'")
1981
- ]),
1982
- createTextVNode("\n"),
1983
- createVNode("span", { class: "line" }),
1984
- createTextVNode("\n"),
1985
- createVNode("span", { class: "line" }, [
1986
- createVNode("span", { style: { "color": "#B392F0" } }, "defineProps"),
1987
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<{")
1988
- ]),
1989
- createTextVNode("\n"),
1990
- createVNode("span", { class: "line" }, [
1991
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1992
- createVNode("span", { style: { "color": "#FFAB70" } }, "frontmatter"),
1993
- createVNode("span", { style: { "color": "#F97583" } }, ":"),
1994
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
1995
- createVNode("span", { style: { "color": "#B392F0" } }, "Post")
1996
- ]),
1997
- createTextVNode("\n"),
1998
- createVNode("span", { class: "line" }, [
1999
- createVNode("span", { style: { "color": "#E1E4E8" } }, "}>()")
2000
- ]),
2001
- createTextVNode("\n"),
2002
- createVNode("span", { class: "line" }),
2003
- createTextVNode("\n"),
2004
- createVNode("span", { class: "line" }, [
2005
- createVNode("span", { style: { "color": "#6A737D" } }, "// Display only in Post layout")
2006
- ]),
2007
- createTextVNode("\n"),
2008
- createVNode("span", { class: "line" }, [
2009
- createVNode("span", { style: { "color": "#F97583" } }, "const"),
2010
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2011
- createVNode("span", { style: { "color": "#79B8FF" } }, "isPost"),
2012
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2013
- createVNode("span", { style: { "color": "#F97583" } }, "="),
2014
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2015
- createVNode("span", { style: { "color": "#B392F0" } }, "useLayout"),
2016
- createVNode("span", { style: { "color": "#E1E4E8" } }, "("),
2017
- createVNode("span", { style: { "color": "#9ECBFF" } }, "'post'"),
2018
- createVNode("span", { style: { "color": "#E1E4E8" } }, ")")
2019
- ]),
2020
- createTextVNode("\n"),
2021
- createVNode("span", { class: "line" }, [
2022
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
2023
- createVNode("span", { style: { "color": "#85E89D" } }, "script"),
2024
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2025
- ]),
2026
- createTextVNode("\n"),
2027
- createVNode("span", { class: "line" }),
2028
- createTextVNode("\n"),
2029
- createVNode("span", { class: "line" }, [
2030
- createVNode("span", { style: { "color": "#E1E4E8" } }, "<"),
2031
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
2032
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2033
- ]),
2034
- createTextVNode("\n"),
2035
- createVNode("span", { class: "line" }, [
2036
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
2037
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunPostMeta"),
2038
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2039
- createVNode("span", { style: { "color": "#B392F0" } }, ":frontmatter"),
2040
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
2041
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"frontmatter"'),
2042
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2043
- ]),
2044
- createTextVNode("\n"),
2045
- createVNode("span", { class: "line" }, [
2046
- createVNode("span", { style: { "color": "#E1E4E8" } }, " <"),
2047
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
2048
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2049
- createVNode("span", { style: { "color": "#B392F0" } }, "v-if"),
2050
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
2051
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"isPost"'),
2052
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2053
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
2054
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
2055
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_container_page_pv"'),
2056
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2057
- ]),
2058
- createTextVNode("\n"),
2059
- createVNode("span", { class: "line" }, [
2060
- createVNode("span", { style: { "color": "#E1E4E8" } }, " Total reading of this article <"),
2061
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
2062
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2063
- createVNode("span", { style: { "color": "#B392F0" } }, "id"),
2064
- createVNode("span", { style: { "color": "#E1E4E8" } }, "="),
2065
- createVNode("span", { style: { "color": "#9ECBFF" } }, '"busuanzi_value_page_pv"'),
2066
- createVNode("span", { style: { "color": "#E1E4E8" } }, " "),
2067
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "/"),
2068
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2069
- ]),
2070
- createTextVNode("\n"),
2071
- createVNode("span", { class: "line" }, [
2072
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
2073
- createVNode("span", { style: { "color": "#85E89D" } }, "span"),
2074
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2075
- ]),
2076
- createTextVNode("\n"),
2077
- createVNode("span", { class: "line" }, [
2078
- createVNode("span", { style: { "color": "#E1E4E8" } }, " </"),
2079
- createVNode("span", { style: { "color": "#FDAEB7", "font-style": "italic" } }, "YunPostMeta"),
2080
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2081
- ]),
2082
- createTextVNode("\n"),
2083
- createVNode("span", { class: "line" }, [
2084
- createVNode("span", { style: { "color": "#E1E4E8" } }, "</"),
2085
- createVNode("span", { style: { "color": "#85E89D" } }, "template"),
2086
- createVNode("span", { style: { "color": "#E1E4E8" } }, ">")
2087
- ])
2088
- ])
2089
- ]),
2090
- createVNode("pre", { class: "shiki github-light vp-code-light" }, [
2091
- createVNode("code", null, [
2092
- createVNode("span", { class: "line" }, [
2093
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
2094
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
2095
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2096
- createVNode("span", { style: { "color": "#6F42C1" } }, "lang"),
2097
- createVNode("span", { style: { "color": "#24292E" } }, "="),
2098
- createVNode("span", { style: { "color": "#032F62" } }, '"ts"'),
2099
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2100
- createVNode("span", { style: { "color": "#6F42C1" } }, "setup"),
2101
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2102
- ]),
2103
- createTextVNode("\n"),
2104
- createVNode("span", { class: "line" }, [
2105
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
2106
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2107
- createVNode("span", { style: { "color": "#D73A49" } }, "type"),
2108
- createVNode("span", { style: { "color": "#24292E" } }, " { Post } "),
2109
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
2110
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2111
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
2112
- ]),
2113
- createTextVNode("\n"),
2114
- createVNode("span", { class: "line" }, [
2115
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
2116
- createVNode("span", { style: { "color": "#24292E" } }, " { useLayout } "),
2117
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
2118
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2119
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy'")
2120
- ]),
2121
- createTextVNode("\n"),
2122
- createVNode("span", { class: "line" }, [
2123
- createVNode("span", { style: { "color": "#D73A49" } }, "import"),
2124
- createVNode("span", { style: { "color": "#24292E" } }, " YunPostMeta "),
2125
- createVNode("span", { style: { "color": "#D73A49" } }, "from"),
2126
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2127
- createVNode("span", { style: { "color": "#032F62" } }, "'valaxy-theme-yun/components/YunPostMeta.vue'")
2128
- ]),
2129
- createTextVNode("\n"),
2130
- createVNode("span", { class: "line" }),
2131
- createTextVNode("\n"),
2132
- createVNode("span", { class: "line" }, [
2133
- createVNode("span", { style: { "color": "#6F42C1" } }, "defineProps"),
2134
- createVNode("span", { style: { "color": "#24292E" } }, "<{")
2135
- ]),
2136
- createTextVNode("\n"),
2137
- createVNode("span", { class: "line" }, [
2138
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2139
- createVNode("span", { style: { "color": "#E36209" } }, "frontmatter"),
2140
- createVNode("span", { style: { "color": "#D73A49" } }, ":"),
2141
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2142
- createVNode("span", { style: { "color": "#6F42C1" } }, "Post")
2143
- ]),
2144
- createTextVNode("\n"),
2145
- createVNode("span", { class: "line" }, [
2146
- createVNode("span", { style: { "color": "#24292E" } }, "}>()")
2147
- ]),
2148
- createTextVNode("\n"),
2149
- createVNode("span", { class: "line" }),
2150
- createTextVNode("\n"),
2151
- createVNode("span", { class: "line" }, [
2152
- createVNode("span", { style: { "color": "#6A737D" } }, "// Display only in Post layout")
2153
- ]),
2154
- createTextVNode("\n"),
2155
- createVNode("span", { class: "line" }, [
2156
- createVNode("span", { style: { "color": "#D73A49" } }, "const"),
2157
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2158
- createVNode("span", { style: { "color": "#005CC5" } }, "isPost"),
2159
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2160
- createVNode("span", { style: { "color": "#D73A49" } }, "="),
2161
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2162
- createVNode("span", { style: { "color": "#6F42C1" } }, "useLayout"),
2163
- createVNode("span", { style: { "color": "#24292E" } }, "("),
2164
- createVNode("span", { style: { "color": "#032F62" } }, "'post'"),
2165
- createVNode("span", { style: { "color": "#24292E" } }, ")")
2166
- ]),
2167
- createTextVNode("\n"),
2168
- createVNode("span", { class: "line" }, [
2169
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
2170
- createVNode("span", { style: { "color": "#22863A" } }, "script"),
2171
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2172
- ]),
2173
- createTextVNode("\n"),
2174
- createVNode("span", { class: "line" }),
2175
- createTextVNode("\n"),
2176
- createVNode("span", { class: "line" }, [
2177
- createVNode("span", { style: { "color": "#24292E" } }, "<"),
2178
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
2179
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2180
- ]),
2181
- createTextVNode("\n"),
2182
- createVNode("span", { class: "line" }, [
2183
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
2184
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunPostMeta"),
2185
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2186
- createVNode("span", { style: { "color": "#6F42C1" } }, ":frontmatter"),
2187
- createVNode("span", { style: { "color": "#24292E" } }, "="),
2188
- createVNode("span", { style: { "color": "#032F62" } }, '"frontmatter"'),
2189
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2190
- ]),
2191
- createTextVNode("\n"),
2192
- createVNode("span", { class: "line" }, [
2193
- createVNode("span", { style: { "color": "#24292E" } }, " <"),
2194
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
2195
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2196
- createVNode("span", { style: { "color": "#6F42C1" } }, "v-if"),
2197
- createVNode("span", { style: { "color": "#24292E" } }, "="),
2198
- createVNode("span", { style: { "color": "#032F62" } }, '"isPost"'),
2199
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2200
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
2201
- createVNode("span", { style: { "color": "#24292E" } }, "="),
2202
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_container_page_pv"'),
2203
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2204
- ]),
2205
- createTextVNode("\n"),
2206
- createVNode("span", { class: "line" }, [
2207
- createVNode("span", { style: { "color": "#24292E" } }, " Total reading of this article <"),
2208
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
2209
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2210
- createVNode("span", { style: { "color": "#6F42C1" } }, "id"),
2211
- createVNode("span", { style: { "color": "#24292E" } }, "="),
2212
- createVNode("span", { style: { "color": "#032F62" } }, '"busuanzi_value_page_pv"'),
2213
- createVNode("span", { style: { "color": "#24292E" } }, " "),
2214
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "/"),
2215
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2216
- ]),
2217
- createTextVNode("\n"),
2218
- createVNode("span", { class: "line" }, [
2219
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
2220
- createVNode("span", { style: { "color": "#22863A" } }, "span"),
2221
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2222
- ]),
2223
- createTextVNode("\n"),
2224
- createVNode("span", { class: "line" }, [
2225
- createVNode("span", { style: { "color": "#24292E" } }, " </"),
2226
- createVNode("span", { style: { "color": "#B31D28", "font-style": "italic" } }, "YunPostMeta"),
2227
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2228
- ]),
2229
- createTextVNode("\n"),
2230
- createVNode("span", { class: "line" }, [
2231
- createVNode("span", { style: { "color": "#24292E" } }, "</"),
2232
- createVNode("span", { style: { "color": "#22863A" } }, "template"),
2233
- createVNode("span", { style: { "color": "#24292E" } }, ">")
2234
- ])
2235
- ])
2236
- ])
2237
- ]),
2238
- createVNode("p", null, "The principle is to cover components. You can also freely cover any other components of the theme.")
2239
- ]),
2240
- createVNode("h3", {
2241
- lang: "zh-CN",
2242
- id: "其他",
2243
- tabindex: "-1"
2244
- }, [
2245
- createTextVNode("其他 "),
2246
- createVNode(_component_AppLink, {
2247
- class: "header-anchor",
2248
- href: "#其他",
2249
- "aria-label": 'Permalink to "其他 {lang="zh-CN"}"'
2250
- }, {
2251
- default: withCtx(() => [
2252
- createTextVNode("​")
2253
- ]),
2254
- _: 1
2255
- /* STABLE */
2256
- })
2257
- ]),
2258
- createVNode("h3", {
2259
- lang: "en",
2260
- id: "other",
2261
- tabindex: "-1"
2262
- }, [
2263
- createTextVNode("Other "),
2264
- createVNode(_component_AppLink, {
2265
- class: "header-anchor",
2266
- href: "#other",
2267
- "aria-label": 'Permalink to "Other {lang="en"}"'
2268
- }, {
2269
- default: withCtx(() => [
2270
- createTextVNode("​")
2271
- ]),
2272
- _: 1
2273
- /* STABLE */
2274
- })
2275
- ]),
2276
- createVNode("div", { lang: "zh-CN" }, [
2277
- createVNode("p", null, [
2278
- createVNode(_component_AppLink, {
2279
- href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
2280
- target: "_blank",
2281
- rel: "noreferrer"
2282
- }, {
2283
- default: withCtx(() => [
2284
- createTextVNode("valaxy-addon-components")
2285
- ]),
2286
- _: 1
2287
- /* STABLE */
2288
- }),
2289
- createTextVNode(" 也是一个充分利用该机制的插件,你也可以参考它的实现方式,以 Valaxy 插件的形式自由发布你的自定义组件。")
2290
- ]),
2291
- createVNode("blockquote", null, [
2292
- createVNode("p", null, [
2293
- createTextVNode("由于发布的是原生的 Vue 组件,所以打包时它将会完全是"),
2294
- createVNode("strong", null, "按需"),
2295
- createTextVNode("的,无需您额外担忧。")
2296
- ])
2297
- ])
2298
- ]),
2299
- createVNode("div", { lang: "en" }, [
2300
- createVNode("p", null, [
2301
- createVNode(_component_AppLink, {
2302
- href: "https://github.com/YunYouJun/valaxy/tree/main/packages/valaxy-addon-components",
2303
- target: "_blank",
2304
- rel: "noreferrer"
2305
- }, {
2306
- default: withCtx(() => [
2307
- createTextVNode("valaxy-addon-components")
2308
- ]),
2309
- _: 1
2310
- /* STABLE */
2311
- }),
2312
- createTextVNode(" is also a plugin that makes full use of this mechanism. You can also refer to its implementation method and freely publish your custom components in the form of Valaxy plugin.")
2313
- ]),
2314
- createVNode("blockquote", null, [
2315
- createVNode("p", null, [
2316
- createTextVNode("Because Vue components published is native, it will be completely "),
2317
- createVNode("strong", null, "on-demand"),
2318
- createTextVNode(" when packaging, without your extra worry.")
2319
- ])
2320
- ])
2321
- ]),
2322
- createVNode("p", null, [
2323
- createVNode(_component_AppLink, {
2324
- href: "https://yun.valaxy.site/examples/addons/components",
2325
- target: "_blank",
2326
- rel: "noreferrer"
2327
- }, {
2328
- default: withCtx(() => [
2329
- createTextVNode("使用 valaxy-addon-components 插入公共组件的示例")
2330
- ]),
2331
- _: 1
2332
- /* STABLE */
2333
- })
2334
- ])
2335
- ];
2336
- }
2337
- }),
2338
- "main-header": withCtx((_, _push2, _parent2, _scopeId) => {
2339
- if (_push2) {
2340
- ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
2341
- } else {
2342
- return [
2343
- renderSlot(_ctx.$slots, "main-header")
2344
- ];
2345
- }
2346
- }),
2347
- "main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
2348
- if (_push2) {
2349
- ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
2350
- } else {
2351
- return [
2352
- renderSlot(_ctx.$slots, "main-header-after")
2353
- ];
2354
- }
2355
- }),
2356
- "main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
2357
- if (_push2) {
2358
- ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
2359
- } else {
2360
- return [
2361
- renderSlot(_ctx.$slots, "main-nav")
2362
- ];
2363
- }
2364
- }),
2365
- "main-content": withCtx((_, _push2, _parent2, _scopeId) => {
2366
- if (_push2) {
2367
- ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
2368
- } else {
2369
- return [
2370
- renderSlot(_ctx.$slots, "main-content")
2371
- ];
2372
- }
2373
- }),
2374
- "main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
2375
- if (_push2) {
2376
- ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
2377
- } else {
2378
- return [
2379
- renderSlot(_ctx.$slots, "main-content-after")
2380
- ];
2381
- }
2382
- }),
2383
- "main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
2384
- if (_push2) {
2385
- ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
2386
- } else {
2387
- return [
2388
- renderSlot(_ctx.$slots, "main-nav-before")
2389
- ];
2390
- }
2391
- }),
2392
- "main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
2393
- if (_push2) {
2394
- ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
2395
- } else {
2396
- return [
2397
- renderSlot(_ctx.$slots, "main-nav-after")
2398
- ];
2399
- }
2400
- }),
2401
- comment: withCtx((_, _push2, _parent2, _scopeId) => {
2402
- if (_push2) {
2403
- ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
2404
- } else {
2405
- return [
2406
- renderSlot(_ctx.$slots, "comment")
2407
- ];
2408
- }
2409
- }),
2410
- footer: withCtx((_, _push2, _parent2, _scopeId) => {
2411
- if (_push2) {
2412
- ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
2413
- } else {
2414
- return [
2415
- renderSlot(_ctx.$slots, "footer")
2416
- ];
2417
- }
2418
- }),
2419
- aside: withCtx((_, _push2, _parent2, _scopeId) => {
2420
- if (_push2) {
2421
- ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
2422
- } else {
2423
- return [
2424
- renderSlot(_ctx.$slots, "aside")
2425
- ];
2426
- }
2427
- }),
2428
- "aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
2429
- if (_push2) {
2430
- ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
2431
- } else {
2432
- return [
2433
- renderSlot(_ctx.$slots, "aside-custom")
2434
- ];
2435
- }
2436
- }),
2437
- default: withCtx((_, _push2, _parent2, _scopeId) => {
2438
- if (_push2) {
2439
- ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
2440
- } else {
2441
- return [
2442
- renderSlot(_ctx.$slots, "default")
2443
- ];
2444
- }
2445
- }),
2446
- _: 3
2447
- /* FORWARDED */
2448
- }, _parent));
2449
- }
2450
- const _sfc_setup = _sfc_main.setup;
2451
- _sfc_main.setup = (props, ctx) => {
2452
- const ssrContext = useSSRContext();
2453
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/guide/custom/components.md");
2454
- return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
2455
- };
2456
- const components = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
2457
- export {
2458
- __pageData,
2459
- components as default
2460
- };