-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.nexmoe.bak.yml
133 lines (120 loc) · 5.44 KB
/
_config.nexmoe.bak.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
avatar: https://cdn.jsdelivr.net/gh/nexmoe/nexmoe.github.io@latest/images/avatar.png # 网站 Logo
background: # 既是博客的背景,又是文章默认头图
path: https://i.dawnlab.me/b5a7e61560facdd5b8aa9683fce147d7.png
width: 1280
height: 726
favicon:
href: /favicon.ico # 网站图标
type: image/x-icon # 图标类型,可能的值有(image/png, image/vnd.microsoft.icon, image/x-icon, image/gif)
function: # 功能开关,可选值(true,false)
globalToc: true # 开启该功能会自动开启文章 TOC(文章目录) 功能
wordCount: false # 是否开启文章字数统计 (true, false)
imageCDN: # 图片 CDN 功能
enable: false # 开启该功能
origin: /../../images/ # 图片原始目录
to: https://cdn.jsdelivr.net/gh/nexmoe/nexmoe.github.io@latest/images/ # 图片 CDN 域名
# 自定义样式,启用后可在站点的source文件夹下新建custom.css自定义站点样式
customStyles:
- custom.css
# 附加图标库 使用说明:https://docs.nexmoe.com/config/icon
iconlib: # //at.alicdn.com/t/font_1038733_0xvrvpg9c0r.css
menu:
回到首页:
- /
- icon-home
文章归档:
- /archive.html
- icon-container
我的朋友:
- /PY.html
给我赞助:
- /donate.html
- icon-coffee
关于博主:
- /about.html
- icon-info-circle
widgets:
- name: search
enable: true
options:
search:
type: engine # 可选engine(用搜索引擎搜索)、swiftype、或local(本地搜索)
url: https://cn.bing.com/search?q=site:nexmoe.com # 搜索引擎地址,在type为swiftype时无效 e.g:https://www.google.com/search?q={你的博客链接}
id: <swiftype-id> # swiftype的id,见启用教程。在type为engine时无效
- name: social
enable: true
options:
social:
QQ群:
- https://jq.qq.com/?_wv=1027&k=5CfKHun
- icon-QQ
- rgb(249, 174, 8)
- rgba(249, 174, 8, .1)
哔哩哔哩:
- https://space.bilibili.com/20238211
- icon-bilibili
- rgb(231, 106, 141)
- rgba(231, 106, 141, .1)
GitHub:
- https://github.com/nexmoe/
- icon-github
- rgb(25, 23, 23)
- rgba(25, 23, 23, .1)
知乎:
- https://www.zhihu.com/people/nexmoe
- icon-zhihu
- rgb(30, 136, 229)
- rgba(30, 136, 229, .1)
Twitter:
- https://twitter.com/nexmoe
- icon-twitter
- rgb(59, 151, 239)
- rgba(59, 151, 239, .1)
RSS:
- https://nexmoe.com/atom.xml
- icon-rss
- rgb(247, 132, 34)
- rgba(247, 132, 34, .1)
- name: category
enable: true
- name: tagcloud
enable: true
options:
maxTagcloud: 17 # 标签云组件显示的标签数量,0 表示不限制
- name: hitokoto # 一言 widget
enable: false
options:
widgetHitokoto: # 一言组件
loading_placeholder: '🚀 获取中...' # 正在一言时的占位符
loading_error_placeholder: '🐞 获取失败...' # 加载一言失败时的占位符
category: # 一言句子类型(可选),不配置的话随机获取,详见 https://developer.hitokoto.cn/sentence/#%E5%8F%A5%E5%AD%90%E7%B1%BB%E5%9E%8B-%E5%8F%82%E6%95%B0
- name: archive #settings: widgetAchive
enable: true
options:
widgetAchive: #文章归档组件
archive_type: 'year' #按月展示还是按年展示
show_count: true #是否展示数量
- name: recent_posts
enable: true
- name: link #settings: widgetLink
enable: true
options:
widgetLink: #链接组件
- title: 小舒同学
img: https://xsm.nexmoe.com/images/Infinite/Snipaste_2022-05-18_20-46-50.png
link : https://xiaoshu.app/
- title: 折影轻梦
img: https://cdn.jsdelivr.net/gh/nexmoe/nexmoe.github.io@latest/images/avatar.png
link : https://nexmoe.com/
copyTip: "著作权归作者所有。\n商业转载请联系作者获得授权,非商业转载请注明出处。\n来源:%url" # 自定义复制版权文案,使用 %url 代替当前页面URL, 修改为false禁用
slotHead: ''
slotFooter: '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2058306854838448" crossorigin="anonymous"></script>'
# 自定义侧边栏尾部内容
slotSidebar: '<br><a target="_blank" href="https://beian.miit.gov.cn/">鄂ICP备2020018486号</a>
<br><a target="_blank" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral">
<img src="https://i.dawnlab.me/c0268c1e6cfd0863d6ba35be1575941a.png" width="150px"></a>'
# 评论框插槽
slotComment: '请在你的配置文件中设置评论框插槽'
slotCopyright: '<strong>版权声明:</strong>本文采用 <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/cn/deed.zh" target="_blank">CC BY-NC-SA 3.0 CN</a> 协议进行许可'
slotArticleEnd: '<p><img data-fancybox="gallery" src="https://i.dawnlab.me/53a8c7cf3ad77a0f0a456ce2c6afe88a.png"
alt="53a8c7cf3ad77a0f0a456ce2c6afe88a.png" data-caption="53a8c7cf3ad77a0f0a456ce2c6afe88a.png" loading="lazy"></p>'