What's Changed
- feat: enhance sidebar player options for aplayer by @D-Sketon in 46603a3
- feat: refine header and footer structure for improved pjax by @D-Sketon in 6a029a8
- fix: update anchor selection to use document.getElementById by @D-Sketon in ab2eb59
- feat: add support for config sidebar in front-matter by @D-Sketon in 245f887
- feat: enhance article copyright display with icons by @D-Sketon in e28ba9b
- fix: adjust article meta margin for normal media queries by @D-Sketon in 2145ed3
- feat: update reimu cursor configuration support by @D-Sketon in 8bca2d5
- feat: add share support by @D-Sketon in c628174
修复
- 修复了自定义封面时 pjax 失效的 bug
- 修复了点击侧边栏按钮进行跳转时 pjax 失效的 bug
- 修复了当标题以数字开头时 TOC 无法正常显示的 bug
- 修正样式
特性
- 新增了
share
配置用于开启分享功能,目前支持facebook
、twitter
、linkedin
、reddit
、weibo
、qq
、weixin
。share: - facebook - twitter - linkedin - reddit - weibo - qq - weixin
weixin
状态下会生成带有二维码的分享卡片,可保存到本地后分享到微信朋友圈(注意,当文章封面存在跨域问题时无法使用 html-to-image 正确生成含图片的卡片!) - 支持在文章
front-matter
中配置sidebar
字段,用于控制文章是否显示侧边栏,优先级高于全局配置--- sidebar: left # left | right | false ---
reimu_cursor
配置结构发生变化,新增cursor
配置用于自定义鼠标路径。(仍然兼容老配置)reimu_cursor: enable: true cursor: default: ../images/cursor/reimu-cursor-default.png pointer: ../images/cursor/reimu-cursor-pointer.png text: ../images/cursor/reimu-cursor-text.png
Full Changelog: v0.4.0...v0.5.0