-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.stellar.yml
162 lines (147 loc) · 5.93 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
######## Sidebar ########
sidebar:
logo:
avatar: '[config.avatar](https://mhuig.top/)' # you can set avatar link in _config.yml or '[https://xxx.png](/about/)'
title: '[config.title](/)' # you can set html tag like: '[<img no-lazy height="32px" src="xxx"/>](/)'
menu:
post: '[RSS](/)'
blog: '[博客](https://blog.mhuig.top/)'
about: '[关于](https://mhuig.top/)'
# Sidebar widgets
widget_layout:
index: [recent] # for home/wiki/categories/tags/archives/404 pages
page: [toc] # for pages using 'layout:page'
widgets:
# Recent update
recent:
layout: recent
rss: /atom.xml # npm i hexo-generator-feed
limit: 5 # Count of posts
# TOC (valid only in layout:post/wiki)
toc:
layout: toc
list_number: false
min_depth: 2
max_depth: 5
fallback: recent # Use a backup widget when toc does not exist.
# welcome
welcome:
layout: markdown
title: Welcome
content: | # support markdown
欢迎来到 MHuiGのRSS订阅
######## Article ########
article:
# 如果没有指定封面,是否根据 tags 作为关键词搜索封面?
auto_cover: true # search from https://source.unsplash.com/
# 如果没有指定 excerpt 和 description,将自动取多长的内容作为文章摘要?
auto_excerpt: 200
# 分类颜色
category_color:
'新闻稿': '#DA0F47'
# 文章许可协议
license: '本文采用 [GLWT(Good Luck With That,祝你好运)公共许可证](https://github.com/me-shaon/GLWTPL/blob/master/translations/LICENSE_zh-CN) 许可协议。'
# 分享
share: # [wechat, weibo, email, link]
# 相关文章,需要安装插件 (for layout: post)
# npm i hexo-related-popular-posts
related_posts:
enable: true
max_count: 15
auto_cover: true # 如果没有封面就根据 tags 作为关键词搜索封面,开了此项将不会自动从文章中提取首张图片作为封面了。
######## Comments ########
comments:
service: # beaudar, utterances, valine, twikoo
######## Footer ########
footer:
social:
github:
icon: '<img src="https://static.mhuig.top/gh/cdn-x/[email protected]/social/08a41b181ce68.svg"/>'
url: https://github.com/MHuiG
music:
icon: '<img src="https://static.mhuig.top/gh/cdn-x/[email protected]/social/3845874.svg"/>'
url: https://music.163.com/#/user/home?id=63035382
contact:
icon: '<img src="https://static.mhuig.top/gh/cdn-x/[email protected]/social/a1b00e20f425d.svg"/>'
url: /contact/
sitemap:
'RSS':
- '[近期](/)'
- '[分类](/categories/)'
- '[标签](/tags/)'
- '[归档](/archives/)'
'Support':
- '[博客](https://blog.mhuig.top/)'
- '[API](https://api.mhuig.top/)'
- '[SSL Status](https://ssl.mhuig.top/)'
- '[Status Monitors](https://mhuig.instatus.com/)'
'社交':
- '[友链](https://blog.mhuig.top/pages/friends/)'
- '[留言板](https://blog.mhuig.top/pages/about/)'
'更多':
- '[关于我](https://mhuig.top/)'
- '[GitHub](https://github.com/MHuiG)'
- '[Contact](/contact/)'
- '[隐私政策](/privacy-policy/)'
content: | # 支持 Markdown 格式
本站由 [MHuiG](https://mhuig.top/) 使用 [Stellar](https://github.com/xaoxuu/hexo-theme-stellar) 主题创建,您可以在 [GitHub](https://github.com/MHG-LAB/RSSBOX) 找到本站源码
本博客所有文章除特别声明外,均采用 [GLWT(Good Luck With That,祝你好运)公共许可证](https://github.com/me-shaon/GLWTPL/blob/master/translations/LICENSE_zh-CN) 许可协议,转载请注明出处。
######## JS Plugins ########
plugins:
## required plugins ##
# jquery
jquery: https://static.mhuig.top/npm/[email protected]/dist/jquery.min.js
# issues api
sitesjs: /js/plugins/sites.js
friendsjs: /js/plugins/friends.js
## optional plugins ##
# preload
preload:
enable: true
service: flying_pages # instant_page, flying_pages
instant_page: https://static.mhuig.top/gh/volantis-x/[email protected]/js/instant_page.js
flying_pages: https://static.mhuig.top/gh/gijo-varghese/[email protected]/flying-pages.min.js
# image lazyload
# https://www.npmjs.com/package/vanilla-lazyload
lazyload:
enable: true # [hexo clean && hexo s] is required after changing this value.
js: https://static.mhuig.top/npm/[email protected]/dist/lazyload.min.js
transition: blur # blur, fade
# https://scrollrevealjs.org/api/reveal.html
scrollreveal:
enable: #true
js: https://static.mhuig.top/npm/[email protected]/dist/scrollreveal.min.js
distance: 8px
duration: 500 # ms
interval: 100 # ms
scale: 1 # 0.1~1
# https://fancyapps.com/docs/ui/fancybox/
# available for {% image xxx %}
fancybox:
enable: true
js: https://static.mhuig.top/npm/@fancyapps/[email protected]/dist/fancybox.umd.js
css: https://static.mhuig.top/npm/@fancyapps/[email protected]/dist/fancybox.css
# 可以处理评论区的图片(不支持 iframe 类评论系统)例如:
# 使用valine评论可以写: .vcontent img:not(.vemoji)
# 使用twikoo评论可以写: .tk-content img:not([class*="emo"])
selector: .swiper-slide img,article.content img # 多个选择器用英文逗号隔开
# swiper
swiper:
enable: true
css: https://unpkg.com/swiper@6/swiper-bundle.min.css
js: https://unpkg.com/swiper@6/swiper-bundle.min.js
style:
darkmode: auto # auto / always / false
theme:
light: '#f8f8f8'
dark: '#313438'
animated_avatar:
animate: auto # auto, always
background: https://static.mhuig.top/gh/cdn-x/[email protected]/avatar/round/[email protected]
codeblock:
scrollbar: 4px
default:
avatar: https://static.mhuig.top/gh/cdn-x/[email protected]/avatar/round/3442075.svg
link: https://static.mhuig.top/gh/cdn-x/[email protected]/link/8f277b4ee0ecd.svg
cover: https://static.mhuig.top/gh/cdn-x/[email protected]/cover/76b86c0226ffd.svg
image: https://static.mhuig.top/gh/cdn-x/[email protected]/image/2659360.svg