Releases: anzhiyu-c/hexo-theme-anzhiyu
Release list
v1.7.1
1.7.1
安知鱼主题 1.7.1
-
框架
【hexo】继续优化 hexo7 兼容性 -
功能
【Umami 统计】新增 Umami 统计配置,关于页面支持 Umami 访问统计卡片
【链接卡片】优化 link 标签,增加参数说明和图标显示逻辑,支持站内外链接的自动图标获取
【国际化】添加页脚、快捷键、控制台、奖励、导航和关于部分的本地化字符串,全面增强国际化支持 -
漏洞
【Algolia 搜索】添加 HTML 转义功能以防止 XSS 攻击,增强搜索结果中的链接验证 fix #200
【番剧页面】修复封面尺寸不一致问题并优化番剧条目间距
【分页功能】优化页码跳转的准确性
【右键菜单】优化图片复制功能,提升跨域处理和错误管理
【国际化】修复 gallery 标签加载更多按钮文字国际化问题 fix #244 -
优化
【画布管理】增强 people 画布功能,添加清理功能和 Pjax 集成,提升性能和资源管理
【Artalk 评论】更新 Artalk 评论系统配置,优化页面加载性能和评论计数功能
1.7.1 版本配置文件变化
# Umami 统计配置(关于页面访问统计卡片)
# 文档: https://umami.is/docs/api
umami:
enable: false
# Umami API 地址,如 https://analytics.example.com
apiHost:
# 网站 ID
websiteId:
# API Token(在 Umami 后台 Settings -> API Keys 中生成)
token:V1.7.0
1.6.15
1.6.14
安知鱼主题 1.6.14
- 框架
【hexo】适配hexo7 - 漏洞
【代码块】修复适配hexo7代码块样式缺失问题
【分类栏】修复
win电脑分类栏超出问题
【人潮汹涌】修复人潮汹涌默认图片 - 依赖
【三方依赖】升级部分依赖
1.6.14版本配置文件变化
# 首页随便逛逛people模式 而非技能点模式,关闭后为技能点模式需要配置creativity.yml
peoplecanvas:
enable: true
- img: https://upload-- bbs.miyoushe.com/upload/2023/09/03/125766904/ee23df8517f3c3e3efc4145658269c06_5714860933110284659.png
+ img: https://upload-bbs.miyoushe.com/upload/2024/07/27/125766904/ba62475f396df9de3316a08ed9e65d86_5680958632268053399..png1.6.12
安知鱼主题 1.6.12
-
漏洞
【代码块】修复适配hexo7代码块样式缺失问题
【banner-button】修复banner-button在safair下的超出问题 fix #163 -
功能
【配置】更新默认配置,默认不启用noticeOutdate
【音乐球】支持音乐球默认音量 close #166 -
样式
【nav】优化nav项目动效
1.6.12版本配置文件变化
diff --git a/_config.yml b/_config.yml
index 970f995..d424f91 100644
--- a/_config.yml
+++ b/_config.yml
@@ -286,7 +286,7 @@ post_pagination: 2
# Displays outdated notice for a post (文章过期提醒)
noticeOutdate:
- enable: true
+ enable: false
style: flat # style: simple/flat
limit_day: 365 # When will it be shown
position: top # position: top/bottom
@@ -1116,12 +1116,13 @@ nav_music:
console_widescreen_music: false # 宽屏状态控制台显示音乐而不是标签 enable为true 控制台依然会显示
id: 8152976493
server: netease
+ volume: 0.7 # 默认音量
all_playlist: https://y.qq.com/n/ryqq/playlist/8802438608
# 评论匿名邮箱
visitorMail:
enable: true
- mail: visitor@anheyu.com
+ mail: ""
# ptool 文章底部工具
ptool:
1.6.11
安知鱼主题 1.6.11
-
漏洞
【TOC】修复TOC元素点击被hearder遮挡的问题 fix #154
【highlight】修复不使用highlight时的正文标题 -
功能
【hexo7】支持hexo7,修复代码块样式识别问题,升级相关插件
旧版本升级说明
- 此版本升级需要更新hexo配置文件,以解决代码块问题
+ syntax_highlighter: highlight.js
highlight:
- enable: false
line_number: true
auto_detect: false
tab_replace: ""
wrap: true
hljs: false
prismjs:
- enable: false
preprocess: false
line_number: true
tab_replace: ""1.6.10
安知鱼主题 1.6.10
-
漏洞
【home_top】修复分类点击支持url_for,相对路径
【主色调】修复主色调未开启时,默认配置下的侧漏色调
【关于赞赏】修复控制台关闭时,无法打开赞赏的bug fix #149
【右键菜单】优化右键菜单的边界判断问题
【toc】修复 toc超出的问题 fix #123
【人潮汹涌】修复人潮汹涌 pjax适配问题 fix #117
【banner_top_button】修复按钮文字超出问题 -
功能
【加载头像】加载头像默认使用站点头像,可单独配置加载头像
配置变化,优化注释。
# 主色调相关配置
mainTone:
enable: false # true or false 文章是否启用获取图片主色调
- mode: api # cdn/api/both cdn模式为图片url+imageAve参数获取主色调,api模式为请求API获取主色调,both模式会先请求cdn参数,无法获取的情况下将请求API获取
+ mode: api # cdn/api/both cdn模式为图片url+imageAve参数获取主色调,api模式为请求API获取主色调,both模式会先请求cdn参数,无法获取的情况下将请求API获取,可以在文章内配置main_color: '#3e5658',使用十六进制颜色,则不会请求both/cdn/api获取主色调,而是直接使用配置的颜色1.6.9
安知鱼主题 1.6.9
- 漏洞
【字体】修复部分页面字体过小的问题
【朋友圈】适配新版rust朋友圈
【banner-button-group】修复在移动端 banner-button-group错乱的情况
【字体】修复部分页面未应用主题 config-font-family 的 bug
【阅读模式】修复 阅读模式退出按钮
【即可】修复首页顶部即刻logo大小错误的bug
【footerBar】调整footerBar中bdageitem的位置
【右键菜单】修复 config.rightClickMenu 右键菜单未开启时,config.ptool.share_copyurl 无效的 bug
【首页】修复 config-pjax 未开启时,首页即刻短文无法跳转的 bug
【中控台】修复 config.darkmode/comment_barrage_config 未开启时,中控台控制按钮依旧显示的 bug
【pjax】修复 config.pjax 未开启时,随机文章跳转失效的 bug,修复未开启pjax功能,首页顶部home_top-category词条无法跳转的bug
【页脚】增加允许页脚显示网站运行时间时 work_img 不显示
【中控台】分离 centerConsole 和 aside 卡片页影响,单独控制卡片页显示,用以修复 config.aside.card_tags/card_archives 未使能时,中控台右侧页不显示的问题
【音乐球】修复config.nav_music功能未开启时中控台仍然有音乐开关按钮,修复中控台右卡片页nav_music功能未开启时依旧可以显示音乐内容
【即刻】修复即刻 video 缩进问题,缩进导致非B站链接无法播放 - 优化
【阅读模式】阅读模式界面优化
【天气】在移动端浏览下,不显示【天气】。桌面端不受影响 - 功能
【朋友圈】支持修改顶部【使用 友链朋友圈 订阅友链最新文章】
配置文件变化
# 朋友圈配置
friends_vue:
enable: false
vue_js: https://npm.elemecdn.com/anzhiyu-theme-static@1.1.1/friends/index.4f887d95.js
apiurl: # 朋友圈后端地址
+ top_tips: 使用 友链朋友圈 订阅友链最新文章
top_background:
# 中控台
- centerConsole: true
+ centerConsole:
+ enable: true
+ card_tags:
+ enable: false
+ limit: 40 # if set 0 will show all
+ color: false
+ sort_order: # Don't modify the setting unless you know how it works
+ highlightTags:
+ # - Hexo
+ # - 前端
+ card_archives:
+ enable: false
+ type: monthly # yearly or monthly
+ format: MMMM YYYY # eg: YYYY年MM月
+ order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
+ limit: 8 # if set 0 will show all
+ sort_order: # Don't modify the setting unless you know how it works1.6.8
1.6.7
安知鱼主题 1.6.7
- 漏洞
【文章列表】修复文章列表标签被点击冒泡造成的事件错误跳转
【algolia搜索】修复algolia搜索打开时TOC的fixed失效的问题
【标签】修复introduction-card的img-alt的异常
【关于页】修复移动端关于页面头像样式异常
【文章列表】修复文章添加多个分类时,post-meta-categories会粘住fixed #110 - 优化
【关于】优化关于页面地图的文字深色模式切换时的动画
【Twikoo】优化Twikoo评论样式
【移动端TOC】优化移动端TOC点击
【footer】footer对copyright的判断
【即刻】即刻对bilibili视频进行额外的支持 - 功能
【关于页】支持关于页-人格-字体颜色personality_type_color #113
【bilibili】支持bilibili 标签 - 依赖
【twikoo】更新twikoo前端版本为1.6.21
从1.6.5升级到1.6.6版本或者1.6.7版本,配置文件需要做以下变更,1.6.6升级1.6.7无需变更。
diff --git a/_config.yml b/_config.yml
index 992d8ef..ac57720 100644
--- a/_config.yml
+++ b/_config.yml
@@ -599,9 +599,9 @@ site_verification:
theme_color:
enable: true
- main: "#3b70fc"
+ main: "#425AEF"
dark_main: "#f2b94b"
- paginator: "#3b70fc"
+ paginator: "#425AEF"
# button_hover: "#FF7242"
text_selection: "#2128bd"
link_color: "var(--anzhiyu-fontcolor)"
@@ -609,9 +609,9 @@ theme_color:
hr_color: "#4259ef23"
code_foreground: "#fff"
code_background: "var(--anzhiyu-code-stress)"
- toc_color: "#3b70fc"
- # blockquote_padding_color: "#3b70fc"
- # blockquote_background_color: "#3b70fc"
+ toc_color: "#425AEF"
+ # blockquote_padding_color: "#425AEF"
+ # blockquote_background_color: "#425AEF"
scrollbar_color: "var(--anzhiyu-scrollbar)"
meta_theme_color_light: "#f7f9fe"
meta_theme_color_dark: "#18171d"
@@ -972,7 +972,7 @@ aplayerInject:
snackbar:
enable: true
position: top-center
- bg_light: "#3b70fc" # The background color of Toast Notification in light mode
+ bg_light: "#425AEF" # The background color of Toast Notification in light mode
bg_dark: "#1f1f1f" # The background color of Toast Notification in dark mode
# https://instant.page/
@@ -1056,7 +1056,7 @@ friends_vue:
apiurl: # 朋友圈后端地址
top_background:
-# 黑色模式粒子效果canvas
+# 深色模式粒子效果canvas
universe:
enable: true
@@ -1186,6 +1186,11 @@ agreementPopup:
rightClickMenu:
enable: false
+# 首页随便逛逛people模式 而非技能点模式,关闭后为技能点模式需要配置creativity.yml
+peoplecanvas:
+ enable: true
+ img: https://upload-bbs.miyoushe.com/upload/2023/09/03/125766904/ee23df8517f3c3e3efc4145658269c06_5714860933110284659.png
+
# 动效
dynamicEffect:
postTopWave: true # 文章顶部波浪效果
@@ -1233,6 +1238,7 @@ CDN:
# right_click_menu_js:
# comment_barrage_js:
# ai_abstract_js:
+ # people_js:
# local_search:
# algolia_js:
# algolia_search: