-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.stellar.yml
107 lines (96 loc) · 3.2 KB
/
_config.stellar.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
article:
auto_cover: true
share: [wechat, weibo, email, link]
comments:
service: giscus
# giscus
# https: //giscus.app/zh-CN
giscus:
src: https://giscus.app/client.js
data-repo: baixiaozhou/hexo-blog
data-repo-id: R_kgDOMjzpMA
data-category: Announcements
data-category-id: DIC_kwDOMjzpMM4ChvMj
data-mapping: pathname
data-strict: 0
data-reactions-enabled: 1
data-emit-metadata: 0
data-input-position: bottom
data-theme: preferred_color_scheme
data-lang: zh-CN
crossorigin: anonymous
busuanzi:
enable: true
site_uv: true # 是否显示站点访客数
site_pv: true # 是否显示站点总访问量
page_pv: true # 是否显示单页访问量
# 侧边栏主功能导航菜单
menubar:
columns: 4 # 一行多少个
items: # 可按照自己需求增加,符合以下格式即可
- id: post # 页面中高亮的 menu_id
theme: '#1BCDFC' # 高亮时的颜色,仅 svg 中 fill="currentColor" 时有效
icon: solar:documents-bold-duotone # 支持 svg/img 标签,可以定义在 icons.yml 文件中,也支持外部图片的 URL
title: 博客 # 标题
url: / # 跳转链接,支持相对路径和绝对路径
- id: wiki
theme: '#3DC550'
icon: solar:notebook-bookmark-bold-duotone
title: 文档
url: /wiki/
- id: about
theme: '#FA6400'
icon: solar:planet-bold-duotone
title: 关于
url: /about/
- id: social
theme: '#F44336'
icon: solar:chat-square-like-bold-duotone
title: 社交
url: /friends/
style:
font-family:
logo: '"LXGW WenKai Screen", system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial, "WenQuanYi Micro Hei", sans-serif'
body: '"LXGW WenKai Screen", system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial, "WenQuanYi Micro Hei", sans-serif'
widgets:
#### 自动生成的页面 ####
# 主页
home: search, welcome, recent, tagcloud, timeline, statement # for home
tag_plugins:
# {% image %}
image:
fancybox: true
footer:
social:
github:
icon: '<img src="/images/git.png"/>'
url: https://github.com/baixiaozhou
music:
icon: '<img src="/images/music.jpeg"/>'
url: https://music.163.com/#/user/home?id=339946379
comments:
icon: '<img src="/images/liuyanban.jpeg"/>'
url: /comments
mode:
icon: '<img src="/images/dark.jpeg"/>'
url: javaScript:void(0);
content: |
<span id="runtime_span"></span>
<script type="text/javascript">
function show_runtime() {
window.setTimeout("show_runtime()", 1000);
X = new Date("2024/08/13 10:00:00");
Y = new Date();
T = (Y.getTime() - X.getTime());
M = 24 * 60 * 60 * 1000;
a = T / M;
A = Math.floor(a);
b = (a - A) * 24;
B = Math.floor(b);
c = (b - B) * 60;
C = Math.floor((b - B) * 60);
D = Math.floor((c - C) * 60);
runtime_span.innerHTML = "⏱️本站已运行 " + A + "天" + B + "小时" + C + "分" + D + "秒"
}
show_runtime();
</script>