upgrade fluid && add snowflake

This commit is contained in:
mei
2024-12-27 14:25:16 +08:00
parent 470dcf001c
commit c65fb9718e
4 changed files with 224 additions and 31 deletions
+57 -29
View File
@@ -62,7 +62,7 @@ code:
highlightjs:
# 在链接中挑选 style 填入
# Select a style in the link
# See: https://highlightjs.org/static/demo/
# See: https://highlightjs.org/demo/
style: "github gist"
style_dark: "dark"
@@ -83,7 +83,7 @@ fun_features:
# 为 subtitle 添加打字机效果
# Typing animation for subtitle
typing:
enable: true
enable: false
# 打印速度,数字越大越慢
# Typing speed, the larger the number, the slower
@@ -91,7 +91,7 @@ fun_features:
# 游标字符
# Cursor character
cursorChar: "光锥之内,就是命运"
cursorChar: "_"
# 是否循环播放效果
# If true, loop animation
@@ -109,8 +109,10 @@ fun_features:
element: h1,h2,h3,h4,h5,h6
# Options: left | right
placement: left
# Options: hover | always | touch
# Options: hover | always
visible: hover
# Options: § | # | ❡
icon: ""
@@ -128,7 +130,7 @@ fun_features:
dark_mode:
enable: true
# 默认的选项(当用户手动切换后则不再按照默认模式),选择 `auto` 会优先遵循 prefers-color-scheme,其次按用户本地时间 18 点到次日 6 点之间进入暗色模式
# Default option (when the visitor switches manually, the default mode is no longer followed), choosing `auto` will give priority to prefers-color-scheme, and then enter the dark mode from 18:00 to 6:00 in the visitor’s local time
# Default option (when the visitor switches manually, the default mode is no longer followed), choosing `auto` will give priority to prefers-color-scheme, and then enter the dark mode from 18:00 to 6:00 in the visitor's local time
# Options: auto | light | dark
default: auto
@@ -154,7 +156,7 @@ color:
navbar_text_color_dark: "#d0d0d0"
# 副标题字体色
# Color of navigation bar text
# Color of subtitle text
subtitle_color: "#fff"
subtitle_color_dark: "#d0d0d0"
@@ -265,16 +267,6 @@ web_analytics: # 网页访问统计
sid:
cid:
# 51.la 站点统计 ID
# 51.la analytics
# See: https://www.51.la/user/site/index
woyaola:
# 友盟/cnzz 站点统计 web_id
# cnzz analytics
# See: https://web.umeng.com/main.php?c=site&a=show
cnzz:
# LeanCloud 计数统计,可用于 PV UV 展示,如果 `web_analytics: enable` 没有开启,PV UV 展示只会查询不会增加
# LeanCloud count statistics, which can be used for PV UV display. If `web_analytics: enable` is false, PV UV display will only query and not increase
leancloud:
@@ -290,6 +282,40 @@ web_analytics: # 网页访问统计
# If true, ignore localhost & 127.0.0.1
ignore_local: false
# Umami Analytics,仅支持自部署。如果要展示 PV UV 需要填写所有配置项,否则只填写 `src` 和 `website_id` 即可
# Umami Analytics, only Self-host support. If you want to display PV UV need to set all config items, otherwise only set 'src' and 'website_id'
# See: https://umami.is/docs
umami:
# umami js 文件地址,需要在 umami 后台创建站点后获取
# umami js file url, get after create website in umami
src: "https://umami.mmeiblog.cn/script.js"
# umami 的 website id,需要在 umami 后台创建站点后获取
# umami website id, get after create website in umami
website_id: "f41c8851-4c0f-49e4-9dc4-0d1f227dbba5"
# 如果你只想统计特定的域名可以填入此字段,多个域名通过逗号分隔,这可以避免统计 localhost。
# If you only want to tracker to specific domains you can fill in this field, multiple domain names are separated by commas, which can avoid tracker localhost
domains:
# 用于统计 PV UV 的开始时间,格式为 "YYYY-MM-DD"
# statistics on the start time, the format is "YYYY-MM-DD"
start_time: 2023-07-12
# 新建一个 umami viewOnly 用户,然后通过 login api 获取该用户 token
# create an umami viewOnly user, and then get user token through the login api
token:
# 填写 umami 部署的服务器地址,如 "https://umami.example.com"
# server url of umami deployment, such as "https://umami.example.com"
api_server: "https://umami.mmeiblog.cn"
# Canonical 用于向 Google 搜索指定规范网址,开启前确保 hexo _config.yml 中配置 `url: http://yourdomain.com`
# Canonical, to specify a canonical URL for Google Search, need to set up `url: http://yourdomain.com` in hexo _config.yml
# See: https://support.google.com/webmasters/answer/139066
canonical:
enable: false
# 对页面中的图片和评论插件进行懒加载处理,可见范围外的元素不会提前加载
# Lazy loading of images and comment plugin on the page
lazyload:
@@ -447,9 +473,9 @@ footer:
statistics:
enable: false
# 统计数据来源,使用 leancloud 需要设置 `web_analytics: leancloud` 中的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
# Data source. If use leancloud, you need to set the parameter in `web_analytics: leancloud`
# Options: busuanzi | leancloud
# 统计数据来源,使用 leancloud, umami 需要设置 `web_analytics` 中对应的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
# Data source. If use leancloud, umami, you need to set the parameter in `web_analytics`
# Options: busuanzi | leancloud | umami
source: "busuanzi"
# 国内大陆服务器的备案信息
@@ -457,13 +483,13 @@ footer:
beian:
enable: false
# ICP证号
icp_text:
icp_text: 京ICP证123456号
# 公安备案号,不填则只显示ICP
police_text:
police_text: 京公网安备12345678号
# 公安备案的编号,用于URL跳转查询
police_code:
police_code: 12345678
# 公安备案的图片. 为空时不显示备案图片
police_icon:
police_icon: /img/police_beian.png
#---------------------------
@@ -480,7 +506,7 @@ index:
# Available: 0 - 100
banner_img_height: 100
# 头图黑色蒙版的不透明度,available: 0 - 1.0, 1 是完全不透明
# 头图黑色蒙版的不透明度,available: 0 - 1.0,1 是完全不透明
# Opacity of the banner mask, 1.0 is completely opaque
# Available: 0 - 1.0
banner_mask_alpha: 0.3
@@ -551,7 +577,7 @@ post:
# 文章在首页的默认封面图,当没有指定 index_img 时会使用该图片,若两者都为空则不显示任何图片
# Path of the default post cover when `index_img` is not set. If both are empty, no image will be displayed
default_index_img:
default_index_img:
# 文章标题下方的元信息
# Meta information below title
@@ -592,7 +618,7 @@ post:
enable: false
# 统计数据来源
# Data Source
# Options: busuanzi | leancloud
# Options: busuanzi | leancloud | umami
source: "busuanzi"
# 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式)
@@ -1114,7 +1140,7 @@ static_prefix:
internal_css: /css
internal_img: /img
anchor: https://lib.baomitu.com/anchor-js/4.3.1/
anchor: https://lib.baomitu.com/anchor-js/5.0.0/
github_markdown: https://lib.baomitu.com/github-markdown-css/4.0.0/
@@ -1144,7 +1170,7 @@ static_prefix:
valine: https://lib.baomitu.com/valine/1.5.1/
waline: https://cdn.staticfile.org/waline/2.15.5/
waline: https://registry.npmmirror.com/@waline/client/2.15.8/files/dist/
gitalk: https://lib.baomitu.com/gitalk/1.8.0/
@@ -1154,4 +1180,6 @@ static_prefix:
discuss: https://lib.baomitu.com/discuss/1.2.1/
hint: https://lib.baomitu.com/hint.css/2.7.0/
hint: https://lib.baomitu.com/hint.css/2.7.0/
moment: https://lib.baomitu.com/moment.js/2.29.4/