Skip to content

Releases: fluid-dev/hexo-theme-fluid

1.9.8

24 Jul 06:14
Compare
Choose a tag to compare

💥 重大变更

  • 移除 51la 和 cnzz 统计插件(用户较少且插件疏于维护,有需求可以自定义 js 引入)

✨ 新功能

  • 新增 Umami 访问统计插件 (#1055)
  • 版权声明增加 license: ZERO 无版权选项 (#1053)
  • 支持 Canonical URL (#1038)
  • Checkbox 支持 markdown 文本 (#1077)

🎨 优化

  • 修改 Waline 默认 CDN (#1109)
  • 调整 iconfont 图标大小
  • 搜索图标垂直居中

🐛 修复

  • 修复移动端元素超出边界 (#1032)
  • 修复永远加载不完的进度条 (#1067)
  • 修复 Giscus 背景不透明
  • 修复 Google Analytics 配置判断

💥 Breaking Change

  • Remove 51la and cnzz analytics plugins (because they are not commonly used)

✨ Feature

  • Umami analytics plugin (#1055)
  • Add 'license: ZERO' No copyright option (#1053)
  • Support Canonical URL (#1038)
  • Checkbox support markdown text (#1077)

🎨 Enhancement

  • Modify Waline default CDN (#1109)
  • Adjust the iconfont icon size
  • Search icon is centered vertically now

🐛 Fix

  • Fix some elements moving out of mobile boundary (#1032)
  • Fix progress bar is loading forever (#1067)
  • Fix Giscus background opacity
  • Fix Google Analytics configuration

1.9.7

16 Dec 09:35
Compare
Choose a tag to compare

✨ 新功能

  • 使用 moment.js 动态生成更新日期的相对时间

🎨 优化

  • 统一 Tag 插件的配色

🐛 修复

  • 修复暗色模式的折叠块标题
  • 修复折叠块内边距
  • 移除 Pandoc 在脚注插入的换行
  • 字数统计合计中英文

✨ Feature

  • Display the relative time of the update date by moment.js

🎨 Enhancement

  • Unified tag plugins color matching

🐛 Fix

  • Fix the fold tag in dark mode
  • Fix the margin of the fold tag
  • Remove line breaks inserted by Pandoc in the footnote

1.9.6

06 Dec 07:38
Compare
Choose a tag to compare

✨ 新功能

🎨 优化

  • 适配 Hexo v7.0.0+ 配置变动
  • 根据不同语言统计字数 (感谢 @TimonPeng #1008)
  • 统计字数适配 hexo-blog-encrypt 插件

🐛 修复

  • 修复首页空白摘要在移动端仍然占位 (感谢 @hunshcn #995)
  • 修复 giscus 暗色模式出现白色背景 (感谢 @Inori #978)

✨ Feature

🎨 Enhancement

  • Adapt Hexo v7.0.0+ breakchange
  • Word count enhancement (by @TimonPeng #1008)

🐛 Fix

1.9.5

02 Jul 12:45
Compare
Choose a tag to compare

✨ 新功能

  • 文章归档功能,在 FrontMatter 里添加 archive: true 可开启,该文章将不在首页列出,但依然能在归档、分类等页面看到 (感谢 @LovelyQuantum #869)
  • 文章页打印样式适配 (感谢 @Bluemangoo #958)
  • 支持 discuss 评论插件 (感谢 @Lete114 #810)

🎨 优化

  • 适配 Hexo 新版本依赖 (#952)
  • 谷歌统计 GA4 替换 UA (感谢 @crescenth #892)
  • 首页文章标题改为 <h2> 标签 (感谢 @xiyuvi #963)

🐛 修复

  • 修复 search.content 无法使用的问题 (感谢 @wuhao21 #912)
  • 修复使用 hexo-blog-encrypt 插件会丢失样式 (#895)
  • 修复隐藏文章失效 (#937)
  • 修复脚注误识别到代码块 (#951)
  • 修复提示标签默认值不生效
  • 修复副标题 API 参数被转义 (#947)

✨ Feature

  • Article archiving feature, add 'archive: true' to FrontMatter, the post will not be listed on the index page, but can still be seen in the archives, categories and other pages (by @LovelyQuantum in #869)
  • Adapt print style on the post page (by @Bluemangoo in #958)
  • New comment plugin discuss (by @Lete114 in #810)

🎨 Enhancement

  • Adapt Hexo new version dependency #952
  • Google Analytics 4 has replaced Universal Analytics (by @crescenth in #892)
  • Post title changed to <h2> tag on the index page (by @xiyuvi in #963)

🐛 Fix

  • Fix search.content unusable issue (by @wuhao21 in #912)
  • Fix missing styles when using hexo-blog-encrypt plugin (#895)
  • Fix hidden article invalidation (#937)
  • Fix footnote misidentification to code block (#951)
  • Fix the default value of label tag not working
  • Fix subtitle API parameter being escaped (#947)

1.9.4

13 Dec 13:17
Compare
Choose a tag to compare

🐛 修复

  • 修复未指定评论插件的判断
  • 修复 404 页面相对路径
  • 修复移动端切换暗色

🐛 Fix

  • Fix the judgment of unspecified comment plugin
  • Fix 404 page relative path
  • Fix the dark color of mobile

1.9.3

13 Sep 06:06
Compare
Choose a tag to compare

🎨 优化

  • 许可协议可以被隐藏
  • TOC 支持自定义配置
  • 优化重载事件触发
  • 修改文字计数逻辑
  • 略微缩短导航栏二级菜单的宽度

🐛 修复

  • 修复 scope 配置参数判断
  • 修复分类侧边栏
  • 修复部分情况代码块底部间距
  • 修复摘要转义

🎨 Enhancement

  • License can be hidden
  • TOC supports custom configs
  • Optimized reload event triggering
  • Modify word count logic

🐛 Fix

  • Fix scope config judgment
  • Fix category sidebar
  • Fix margin-bottom of code blocks in some cases
  • Fix excerpt escaping

1.9.2

16 Jun 09:49
Compare
Choose a tag to compare

🎨 优化

🐛 修复

  • 修复 Markdown 插件在自定义页面的加载
  • 修复统计代码的加载时机 #769
  • 修复友链页评论配置无效 #765
  • 修复脚注渲染 BUG #766
  • 修复代码高亮背景的判断 #770
  • 修复 ClipboardJS 重复加载
  • 修复节标题样式选择范围

🎨 Enhancement

🐛 Fix

  • Fix Markdown plugin loading on custom pages
  • Fix the loading of analysis #769
  • Fix the invalid configuration of comments on the links page #765
  • Fix footnote rendering bug #766
  • Fix the judgment of code highlight background #770
  • Fix ClipboardJS loaded multiple times
  • Fix the selection range of section headers

1.9.1

01 Jun 10:58
Compare
Choose a tag to compare

✨ 新功能

🎨 优化

  • 略微增加分页按钮的间隔
  • 当创建与更新日期相同时,不显示更新日期
  • 升级第三方库默认版本

🐛 修复

  • 修复 banner_mask_alpha: 0 不生效
  • 修复首页摘要在无图情况下的高度
  • 修复 prismjs 高亮在暗色切换时的抖动

✨ Feature

🎨 Enhancement

  • Slightly increase the spacing of the pagination buttons
  • When date and updated are the same, the update date is not displayed
  • Upgrade the default version of the static assets

🐛 Fix

  • Fix banner_mask_alpha: 0 doesn't work
  • Fix the height of the excerpt without image
  • Fix jitter of prismjs during dark color switching

1.9.0

18 May 03:40
Compare
Choose a tag to compare

⚠️公告

自 v1.9.0 版本开始,Fluid 主题项目的开源许可更换为 GPL-3.0 协议

🔧 配置变更

  • 由于文章页版权信息栏被更新,原配置项被移除:
post:
  copyright:
    enable: true
-   content: '...'
+   license: 'BY' 
  • highlightjs 高亮支持智能判断背景色,移除了手动指定的配置项:
code:
  highlight:
    highlightjs:
-     bg_color: false
  • 由于重写了多语言配置,很多带有文字的配置项被移到 languages/*.yml,但它们在 _config.yml 依然生效,不过不建议再使用它们,请在你的覆盖配置中弃用它们并使用语言配置

✨ 新功能

  • 代码高亮支持暗色样式:
code:
  highlight:
    highlightjs:
      style: "github gist"
+     style_dark: "dark"
    prismjs:
      style: "default"
+     style_dark: "tomorrow night"
  • 文章目录支持配置位于左侧或右侧
post:
  toc:
+   placement: right
  • 文章分类侧板栏,可以在文章页关联展示当前分类下的文章
post:
+ category_bar:
+   enable: true
  • 文章图片标题支持开关
post:
+ image_caption:
+   enable: true
  • 代码块支持显示代码语言
code:
+ language:
+   enable: true
+   default: "TEXT"
  • 打字机支持指定页面下开启
fun_features:
  typing:
+   scope: []  # Options: home | post | tag | category | about | links | page | 404
  • 增加配置 404 页面重定向到首页的延迟
page404:
+ redirect_delay: 5000
  • 增加了更多的颜色配置项:
color:
+ # 按钮类组件的背景色
+ button_bg_color: "transparent"
+ button_bg_color_dark: "transparent"
+ # 按钮类组件的悬浮背景色
+ button_hover_bg_color: "#f2f3f5"
+ button_hover_bg_color_dark: "#46647e"
  • 全新的文章页版权信息栏
  • 重写了多语言配置,并支持覆盖配置
  • 增加代码注入功能(使用说明),多种组件改为注入式加载
  • 增加 noscript 警告
  • 多语言增加西班牙语(感谢 @Eschiclers
  • 遵循"请勿追踪"功能

🎨 优化

  • 代码高亮等多个组件支持了暗色模式
  • 代码高亮选择 highlightjs 时,会判断在无背景色的样式中填充默认背景色
  • 默认的静态 CDN 修改为 baomitu
  • 文章分类显示父级关系,并略微调整分类和标签的样式(首页分类改为只显示一条)
  • 归档页日期改为左侧
  • Checkbox Tag 改为原生样式,并增加可勾选参数
  • 优化锚点的适配
  • 移除 Pandoc 渲染影响到的列表宽度
  • 重构引入 script 和 css 的逻辑
  • 升级 Waline 至 v2

🐛 修复

  • 修复 TOC 光标部分情况下偏移
  • 修复 Pandoc 渲染没有适配图片
  • 修复打开搜索框的抖动
  • 修复搜索按钮聚焦后变色
  • 修复分类层级判断
  • 修复 LeanCloud 国际版不支持 ServerUrl 的问题

⚠️ Notice

Since v1.9.0, the open source license for Fluid has been changed to GPL-3.0.

🔧 Configuration

  • The configuration was removed because the copyright information on the post page was updated:
post:
  copyright:
    enable: true
-   content: '...'
+   license: 'BY' 
  • highlightjs support intelligently judging background color, removes manually specified configuration items:
code:
  highlight:
    highlightjs:
-     bg_color: false
  • Due to the rewrite of the language configuration, many configuration items have been moved to languages/*.yml, and support override configuration

✨ Feature

  • Code highlight support dark styles:
code:
  highlight:
    highlightjs:
      style: "github gist"
+     style_dark: "dark"
    prismjs:
      style: "default"
+     style_dark: "tomorrow night"
  • New configuration of TOC on left or right:
post:
  toc:
+   placement: right
  • The sidebar of post category, can associate posts under the same category:
post:
+ category_bar:
+   enable: true
  • Switch of image caption:
post:
+ image_caption:
+   enable: true
  • Code blocks support code language:
code:
+ language:
+   enable: true
+   default: "TEXT"
  • Typing support is enabled under the specified page
fun_features:
  typing:
+   scope: []  # Options: home | post | tag | category | about | links | page | 404
  • The delay of 404 page redirection to the homepage:
page404:
+ redirect_delay: 5000
  • Add more color configuration items:
color:
+ button_bg_color: "transparent"
+ button_bg_color_dark: "transparent"
+ button_hover_bg_color: "#f2f3f5"
+ button_hover_bg_color_dark: "#46647e"
  • New copyright information on the post page
  • Rewritten language configuration,and support override configuration
  • Add code injector, some components are changed to injection loading
  • Add noscript warning
  • Spanish language (Thanks for @Eschiclers)
  • Follow "Do Not Track"

🎨 Enhancement

  • Some components such as code highlighting support dark mode
  • When highlightjs is selected for code highlight, it will be judged to fill the default background color in the style without background color
  • The default static CDN is modified to baomitu
  • Categories show parent relationships, and slightly adjust the styles of categories and tags
  • Archive page date changed to left
  • Checkbox Tag is changed to native style, and optional parameters are added
  • Optimized the adaptation of anchor points
  • Remove list width affected by Pandoc rendering
  • Refactor the logic of importing script and css
  • Upgrade Waline to v2

🐛 Fix

  • Fix TOC cursor partial case offset
  • Fix Pandoc rendering not adapting to images
  • Fix jitter when opening search box
  • Fix search button discoloration after focusing
  • Fix LeanCloud does not support ServerUrl

1.8.14

31 Dec 08:32
Compare
Choose a tag to compare

⚠️公告

对于正在使用 MathJax 的老用户,建议将原 kramed 渲染器更换为 pandoc,步骤如下:

  1. npm uninstall hexo-renderer-kramed --save
  2. npm install hexo-renderer-pandoc --save
  3. 根据操作系统安装 Pandoc

🔧 配置变更

  • hint 库(用于关于页里图标悬浮框)修改为使用公共 CDN:
static_prefix:
- hint: /lib/hint/
+ hint: https://cdn.jsdelivr.net/npm/hint.css@2/

✨ 新功能

  • 增加对滚动条颜色的配置项:
color:
+ scrollbar_color: "#c4c6c9"
+ scrollbar_color_dark: "#687582"
+ scrollbar_hover_color: "#a6a6a6"
+ scrollbar_hover_color_dark: "#9da8b3"

🎨 优化

  • TOC 增加光标样式
  • 表格适配暗色模式
  • 代码高亮适配缩进代码块
  • 固定 highlight 代码行数

🐛 修复

  • 修复上个版本中关于页头像在移动端会被隐藏的问题
  • 暂时移除代码块在暗色模式下变暗(会导致复制按钮偏移)

⚠️ Notice

For the users who are using MathJax, it is recommended to replace kramed renderer to pandoc, the steps are as follows:

  1. npm uninstall hexo-renderer-kramed --save
  2. npm install hexo- renderer-pandoc --save
  3. Install Pandoc according to your os system

🔧 Configuration

  • hint (for the icon hover in the about page) was modified to jsdelivrCDN:
static_prefix:
- hint: /lib/hint/
+ hint: https://cdn.jsdelivr.net/npm/hint.css@2/

✨ Feature

  • Add config item for scrollbar color:
color:
+ scrollbar_color: "#c4c6c9"
+ scrollbar_color_dark: "#687582"
+ scrollbar_hover_color: "#a6a6a6"
+ scrollbar_hover_color_dark: "#9da8b3"

🎨 Enhancement

  • TOC add cursor style
  • <table> is adapted to dark mode
  • Indented code block is adapted to highlight
  • Stick line-number of code

🐛 Fix

  • Fix the about avatar being hidden on mobile in the previous version
  • Temporarily remove code blocks to darken in dark mode (causes the copy button to shift)