Releases: fluid-dev/hexo-theme-fluid
1.8.4
🔧 配置变更
- 移除了 Aplayer、DaoVoice、鼠标点击动效 这些功能及配置项(因为可以通过 Hexo 5 的注入器引入,详情)
_static_prefix.yml内容并入到_config.yml(原文件功能依然保留,主要便于使用覆盖配置)
✨ 新功能
- 支持自定义页脚内容
- 文章通过
sticky排序后增加一个图标(详情) - 多语言新增德语
🐛 修复
- 修复 Gitalk 的样式会影响到文章
- 修复未开启暗色模式时的报错
🔧 Configuration
- Remove the features of Aplayer, DaoVoice and mouse click animation (because they can be injected via the injector of Hexo 5)
- The content of
_static_prefix.ymlis merged into_config.yml, but the original file feature remains
✨ Feature
- Support custom footer content
- Add an icon after the posts are sorted by
sticky(details) - I18n add German language
🐛 Fix
- Fix Gitalk style will affect the post content
- Fix an error when the dark mode is disable
1.8.3
🔧 配置变更
_config.yml: 高亮配置项highlight变更为code:highlight_config.yml: 因腾讯分析即将关闭,删除了配置项web_analytics:tajs和相关功能
✨ 新功能
- 支持 prismjs 高亮库
- 引入 remark42 评论插件
- 文章页支持显示作者
🎨 优化
- 优化部分动画的性能
- utterances 评论插件会跟随暗色切换
🐛 修复
- 修复新版 Chrome 导致滚动闪屏
- 修复检测主题最新版本失效(但仍会小几率失败)
- 修复 DisqusJS 加载失败
- 修复关闭代码高亮仍受暗色模式影响
🔧 Configuration
_config.yml:highlightis modified tocode:highlight
✨ Feature
- Add support for prismjs highlight library
- Add remark42 comment plugin
- Add author on post page
🎨 Enhancement
- Improve some animation performance
- Utterances comment plugin will follow the dark mode
🐛 Fix
- Fix new version of Chrome causing flash
- Fix the failure of check the latest version
- Fix DisqusJS loading failure
- Fix the code block is still affected by the dark mode after disabling highlight
1.8.2
🔧 配置变更
_config.yml: Gitalk 的admin与labels配置项修改为列表
✨ 新功能
- 增加暗色主题模式
🎨 优化
- 二级菜单改为悬浮显示
- 搜索关键词高亮显示
- 更多 Web 语义化
- 当 source 目录存在 404.html 时,不再生成 404 页面
🐛 修复
- 修复 Gitalk 报错
- 修复 Disqus 报错
- 修复 utterancs 评论框的位置
- 修复个别高亮 style 配置无法识别
🔧 Configuration
_config.yml:adminandlabelsof Gitalk is modified to list value
✨ Feature
- Add dark mode
🎨 Enhancement
- The subordinate menu for hovering display now
- Search keywords highlighted
- More web semantic
🐛 Fix
- Fix Gitalk error
- Fix Disqus error
- Fix the location of utterancs
- Fix the individual highlight style can't work
1.8.1
✨ 新功能
- 导航栏增加二级菜单功能
- 导航栏增加毛玻璃特效可选项(实验性功能)
- 加入 LeanCloud 用于统计访问数据(指南)
- 支持 Markdown 脚注语法
- 关于页社交图标增加 ToolTip 配置
🎨 优化
- 重写了分类页(category)的页面样式(预览)
- 图片懒加载采用新机制,大幅提高性能
- 优化所有评论插件的加载机制,加入懒加载
- 重新加入了分类页与标签页的文章计数
- 检测主题版本的功能不再依赖最低 Node 10 版本
- 优化部分 Tag 插件
- 代码高亮开启自动判断检索语言类型
- 文章上下篇按钮支持多语言
- 优化多处样式细节
- 文章页可通过 Front-Matter 单独关闭
meta/copyright/custom
🐛 修复
- 修复友链页没有关联面板配置颜色
✨ Feature
- Navbar supports subordinate menu
- Navbar supports ground glass style
- Add LeanCloud for view statistics
- Support for markdown footnote
- Add tooltip on about page
🎨 Enhancement
- Rewrite the category page
- Improve image lazyload performance
- Improve the loading of all comment plugins and with lazyload
- The feature that check theme version no longer depends on Node 10+
- Improve part of Tag plugin
- Code highlight can detect code language automatically
meta/copyright/customcan be closed by front-matter on the post page
🐛 Fix
- Fix the color of links page without associated config
1.8.0
hexo g 报错,请关闭配置项 version.check
💥 重大变更
- 配置项
navbar.menu、about.icons、links.items均重新调整,必须同步变更,具体见配置注释 - 代码高亮更换为 highlight.js(支持 185 种语言和 91 种高亮样式),主题配置
highlight全面更换 - 图标库由 Font-Awesome 更换为 iconfont,
about.icons需要修改图标 class(详情) - SmoothScroll 因兼容问题被移除,相关配置不再可用,如需使用请通过自定义 JS 引入
- scripts 目录已经了文件结构调整,更新请不要使用覆盖文件方式,而是先把 fluid 文件夹全部删除
✨ 新功能
- 增加多款内置 Tag 功能(介绍)
- 顶部菜单支持自定义图标
- 支持 mermaid 代码渲染
- 懒加载可在自定义页面单独开启
- 主题新版本自动检测(可通过
version.check配置关闭) - 增加大量配置项:
- 全局字体配置(
font.*) - 更多的全局颜色配置(
color.*) - 头图的蒙版透明度配置项(
page.banner_mask_alpha) - TOC 折叠层级配置(
toc.collapseDepth) - 文章显示的阅读时间增加读速配置(
post.meta.min2read.words)
- 全局字体配置(
🎨 优化
- 字体进行全面优化,更适合不同设备上的阅读
- 移除 mdbootstrap 和 Font-Awesome 库的依赖,大幅减少 CSS 加载负担
- 多个页面进行了局部代码重构,并优化大量样式细节
- 优化多个插件的加载时机,使页面整体加载更流畅
- 文章加入了一些 Web 语义化标签,利于搜索引擎收录
- 复制代码不再有选中样式,并且能根据代码背景色改变按钮颜色
- 原生支持 TOC 粘性布局
- 文章更新时间支持相对时间
- Valine 评论插件升级至 1.4.14(配置相对之前版本有变化)
- MathJax 公式插件升级至 3.0
🐛 修复
- 修复部分插件之间的加载冲突
- 修复懒加载
onlypost配置判断,以及某些情况下报错 - 修复 TOC 条目过多时显示不完整
- 修复向下滚动箭头不是真正居中
- 修复搜索文章的链接在某些情况下拼接错误
version.check: false
💥Breaking Change
- Readjusted configurations about
navbar.menu、about.icons、links.items. You should update_config.ymlof theme. - Code highlight is replaced with highlight.js(185 languages and 91 styles), and
highlightof theme config has been replaced - Removed Font-Awesome library, you should change the class of
about.icons(Detail) - Removed SmoothScroll plugin because of compatibility problem
✨ Feature
- Add tag plugin (Detail)
- Add custom icons to navbar
- Support
mermaidrenderer - Lazyload can be enabled at custom pages
- Automatically check for new version of theme
- Add some configurations:
- Global font(
font.*) - Global color(
color.*) - Alpha value of the banner mask(
page.banner_mask_alpha) - Collapse depth of TOC(
toc.collapseDepth) - Reading speed of posts(
post.meta.min2read.words)
- Global font(
🎨 Enhancement
- Improve the font style to make it easy while reading with multiple device
- CSS dependence by removing mdbootstrap and Font-Awesome
- Refactored code for some pages
- Improve the loading time of some plugins to make pages load more smoothly
- Web semantic of the post page
- Native support for TOC sticky
- Post update time supports relative time
- Valine plugin upgrade to 1.4.14 (configuration changes)
- MathJax plugin upgrade to 3.0
🐛 Fix
- Fix some conflicts between some plugins
- Fix some errors about
onlypostof lazyload - Fix display of TOC when too much items
- Fix the url splicing errors in search modal
1.7.5
🐛 修复
- MathJax 样式错误
- 腾讯统计判断错误
🐛 Fix
- Fix MathJax styles
- Fix that tencent analytics will always be loaded
1.7.4
✨ 新功能
- 代码块增加复制按钮(需要主题配置开启
highlight.enable与highlight.copy_btn)
🎨 优化
- MathJax 与 KaTeX 现在公式过长会换行
- 文章上下篇按钮的移动端适配
🐛 修复
- 去除友链的 nofollow
- 修复友链头像变形
- 修复懒加载初始化报错
- 修复文章图片样式失效
- 修复腾讯统计
✨ Feature
- Code block add copy button (need to enable
highlight.enableandhighlight.copy_btnin theme configuration)
🎨 Enhancement
- MathJax and KaTeX will wrap if the formula is too long
- Mobile adaptation of the previous / next post buttons
🐛 Fix
- Remove the nofollow on the links page
- Fix the deformation of the image on the links page
- Fix lazyload initialize error
- Fix the post image style not working
- Fix tencent analytics
1.7.3
✨ 新功能
- 文章页底部上一篇/下一篇功能
- 隐藏文章功能(说明)
🎨 优化
- 文章图片样式默认不再对自定义页面生效(便于定制)
🐛 修复
- 修复 TOC 高亮定位错误(远古 BUG,建议更新)
✨ Add
- Add previous / next post at the bottom of the post page
- Can make the post not displayed on the index page (guide)
🎨 Enhancement
- Post image style don't works for custom pages now
🐛 Fix
- Fix TOC highlight positioning bug
1.7.2
1.7.1
🎨 优化
- 重写友链页的卡片样式,支持头像
- 优化视差滚动效果
- 评论区移动到文章版块内(原本是在 footer 上方)
- 优化文章页宽屏布局
- 自定义页面移除 Markdown 样式(如需样式请自行添加)
- 增加 APlayer 的配置项
🐛 修复
- 修复某些配置的覆盖问题(:warning: 1.7.0 版本强烈建议更新)
- 修复页脚样式问题
- 修复懒加载图片变形问题
🎨 Enhancement
- Rewrite the style of link page, and support avatars
- Better parallax scrolling
- Comment area moved to the post board bottom
- Improve post page wide screen layout
- Custom page remove markdown style (you can add it by yourself)
- Add APlayer configurations
🐛 Fix
- Fix some configuration overrides (:warning: v1.7.0 emergency fix)
- Fix style bug in footer
- Fix lazyload image proportion