@@ -46,7 +46,7 @@ mourn:
# Code Blocks (代码相关)
# --------------------------------------
-highlight_theme: mac # darker / pale night / light / ocean / mac / mac light / false
+highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
highlight_copy: true # copy button
highlight_lang: true # show the code language
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
@@ -276,9 +276,11 @@ related_post:
photofigcaption: false
# post_pagination (分页)
-# value: 1 || 2 || false
+# value: 1 || 2 || 3 || false
# 1: The 'next post' will link to old post
# 2: The 'next post' will link to new post
+# 3: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章)
+# 4: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章) 显示图片cover
# false: disable pagination
post_pagination: 2
@@ -352,65 +354,8 @@ waline:
pageview: false
meta: false # 归属地, 操作系统 前是否显示图标
imageUploader: true # 是否启用图片上传功能,默认开启,限制为 128kb 的 base64 图片
- # 如果你需要启用自定义图片上传方式,请注释上方默认行为,取消下方注释,自行编写函数
- # 并根据实际上传方式进行参数调整,以下为示例 注意 imageUploader: > 参数中的 > 不可删除
- # imageUploader: >
- # function (file) {
- # let formData = new FormData();
- # let headers = new Headers();
- # formData.append("file", file);
- # formData.append("album_id", "10");
- # formData.append("permission", "0");
- # headers.append("Authorization", "Bearer 你的Token");
- # headers.append("Accept", "application/json");
- # return fetch("你的 API 上传地址", {
- # method: "POST",
- # headers: headers,
- # body: formData,
- # })
- # .then((resp) => resp.json())
- # .then((resp) => resp.data.links.url);
- # }
-
# 以下为可选配置,后续若有新增/修改配置参数可在此自行添加/修改
option:
- pageSize: 10
- requiredMeta: ["nick", "mail"]
- login: enable
- copyright: true
- # turnstileKey:
- locale:
- admin: 安知鱼
- sofa: 欢迎使用 安知鱼 主题!
- placeholder: "生活明朗,万物可爱"
- # reactionTitle: 就现在,表明你的态度!
- # reaction0: 0
- # reaction1: 1
- # reaction2: 2
- # reaction3: 3
- # reaction4: 4
- # reaction5: 5
- # level0: 0
- # level1: 1
- # level2: 2
- # level3: 3
- # level4: 4
- # level5: 5
- # level6: 6
- # level7: ...
- # emoji:
- # [
- # "https://example.com/.../Sticker-100/",
- # ]
- # reaction:
- # [
- # "https://example.com/.../Sticker-100/0.png",
- # "https://example.com/.../Sticker-100/1.png",
- # "https://example.com/.../Sticker-100/2.png",
- # "https://example.com/.../Sticker-100/3.png",
- # "https://example.com/.../Sticker-100/4.png",
- # "https://example.com/.../Sticker-100/5.png",
- # ]
@@ -831,7 +776,7 @@ preloader:
source: 3
# pace theme (see https://codebyzach.github.io/pace/)
pace_css_url:
- avatar: # 自定义头像
+ avatar: https://npm.elemecdn.com/anzhiyu-blog-static@1.0.4/img/avatar.jpg # 自定加载动画义头像
# aside (侧边栏)
# --------------------------------------
@@ -1264,12 +1209,12 @@ inject:
# 非必要请不要修改
CDN:
# The CDN provider of internal scripts (主题内部 js 的 cdn 配置)
- # option: local/elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/custom
+ # option: local/elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/anheyu/custom
# Dev version can only choose. ( dev版的主题只能设置为 local )
internal_provider: local
# The CDN provider of third party scripts (第三方 js 的 cdn 配置)
- # option: elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/custom
+ # option: elemecdn/jsdelivr/unpkg/cdnjs/onmicrosoft/cbd/anheyu/custom
third_party_provider: cbd
# Add version number to CDN, true or false