-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.nexmoe.yml
188 lines (179 loc) · 7.38 KB
/
_config.nexmoe.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
avatar: /static/avatar-2.png # 网站 Logo
background: # 既是博客的背景,又是文章默认头图
path: /static/background.jpg
width: 1440
height: 960
favicon:
href: /static/favicon.ico # 网站图标
type: image/x-icon # 图标类型,可能的值有(image/png, image/vnd.microsoft.icon, image/x-icon, image/gif)
function: # 功能开关,可选值(true,false)
globalToc: true # 开启该功能会自动开启文章 TOC(文章目录) 功能
wordCount: true # 是否开启文章字数统计 (true, false)
copyCode: true # 是否允许复制代码块
imageCDN: # 图片 CDN 功能
enable: false # 开启该功能
# origin: '/static/' # 图片原始目录
# to: https://cdn.jsdelivr.net/gh/wangerzi/blog@latest/source/static/ # 图片 CDN 域名
cdn: # 这里可以修改站点使用的库的CDN
# disqusjs:
# css: https://cdn.jsdelivr.net/npm/[email protected]/dist/disqusjs.min.css
# js: https://cdn.jsdelivr.net/npm/[email protected]/dist/disqus.min.js
gitalk:
# css: https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.css
# js: https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js
css: /static/libs/gitalk.min.css
js: /static/libs/gitalk.min.js
valine:
js: https://cdn.jsdelivr.net/npm/valine
mdui:
# js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/mdui.min.js?v=mine
js: /static/libs/mdui.min.js
jquery:
# js: https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js?v=mine
js: /static/libs/jquery.min.js
fancybox:
# css: https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css?v=mine
# js: https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox.umd.js?v=mine
css: /static/libs/fancybox.css
js: /static/libs/fancybox.umd.js
justifiedGallery:
# js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/jquery.justifiedGallery.min.js?v=mine
# css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/justifiedGallery.min.css?v=mine
css: /static/libs/justifiedGallery.min.css
js: /static/libs/jquery.justifiedGallery.min.js
# 自定义样式,启用后可在站点的source文件夹下新建custom.css自定义站点样式
customStyles:
- custom.css
# 附加图标库 使用说明:https://docs.nexmoe.com/config/icon
iconlib: # //at.alicdn.com/t/font_1038733_0xvrvpg9c0r.css
menu:
回到首页:
- /
- icon-home
文章归档: # 使用说明:https://docs.nexmoe.com/article/archive
- /archive.html
- icon-container
关于博主:
- /about.html
- icon-info-circle
我的朋友:
- /friends.html # 使用说明:https://docs.nexmoe.com/article/py
jsonContent:
meta: false
pages: false
posts:
title: true
date: false
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: false
widgets:
- name: search
enable: true
options:
search:
type: local # 可选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: category
# enable: true
- name: tagcloud
enable: true
options:
maxTagcloud: 20 # 标签云组件显示的标签数量,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: recent_posts
enable: true
- name: archive #settings: widgetAchive
enable: true
options:
widgetAchive: #文章归档组件
archive_type: 'year' #按月展示还是按年展示
show_count: true #是否展示数量
- 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/wangerzi/
- 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:
- /atom.xml
- icon-rss
- rgb(247, 132, 34)
- rgba(247, 132, 34, .1)
# - 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: |
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZHH2NFM6CG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());
gtag("config", "G-ZHH2NFM6CG");
</script>
# 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备17009771号-1</a>
# 评论框插槽
slotComment: |
<link rel="stylesheet" href="/static/libs/gitalk.min.css">
<div id="gitalk"></div>
<script defer src="/static/libs/gitalk.min.js"></script>
<script defer src="/static/libs/md5.min.js"></script>
<script defer src="/static/libs/gitalk-init.js"></script>
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 src="https://i.dawnlab.me/53a8c7cf3ad77a0f0a456ce2c6afe88a.png" loading="lazy"></p>
slotArticleEnd: |
<link rel="stylesheet" href="/static/libs/highlight.style.min.css">