Releases: liuyib/hexo-theme-stun
v1.4.0
❗❗ This version contains some incorrect information when you release it. Please do not use this version. You can use
v1.4.1
or the latest version.
💥 Breaking Change
Modified the _config.yml
file:
+ cache: true
+ shake_file: true
+ index_subtitle: false
sidebar:
+ width: 260px
busuanzi:
enable: false
+ icon_only: true
- site:
- icon_only: true
- uv:
- enable: false
- icon: user
- pv:
- enable: true
- icon: eye
- post_pv:
- enable: true
- icon_only: false
- icon: eye
+ site_uv:
+ enable: true
+ icon: user
+ site_pv:
+ enable: true
+ post_pv:
+ enable: true
+ icon: user
- img_horizonal_align:
+ fa_prefix: fa
+ heading_line: true
- The article list of the archive page can no longer be set whether or not to page (always page)
- Sidebar can be configured with width
- When using the built-in page tag, category you need to add Front-Matter:
type: tag / category
下面是中文翻译:
❗❗ 这个版本发布时包含了一些错误的信息,请不要使用这个版本,可以使用
v1.4.1
或 最新版。
💥 Breaking Change
修改了 _config.yml
文件:
+ cache: true
+ shake_file: true
+ index_subtitle: false
sidebar:
+ width: 260px
busuanzi:
enable: false
+ icon_only: true
- site:
- icon_only: true
- uv:
- enable: false
- icon: user
- pv:
- enable: true
- icon: eye
- post_pv:
- enable: true
- icon_only: false
- icon: eye
+ site_uv:
+ enable: true
+ icon: user
+ site_pv:
+ enable: true
+ post_pv:
+ enable: true
+ icon: user
- img_horizonal_align:
+ fa_prefix: fa
+ heading_line: true
- 归档页面的文章列表不再可以设置是否分页(始终分页)
- 侧边栏可以配置宽度
- 使用内置页面 tag, category 时需要添加 Front-Matter:
type: tag / category
v1.3.1
Bug Fixes
-
Fix busuanzi & math & comments invalid when enable pjax (037bbc7)
-
Fix some third-party script invalid when pjax is enabled (29b8d02)
💥 Breaking Change
Remove Gitment & change file _config.yml
:
``` diff
- gitment:
- enable: false
- owner:
- repo:
- client_id:
- client_secret:
- lazy: true
cdn:
- gitment_js:
- gitment_css:
- gitment_md5:
下面是中文翻译:
问题修复
💥 Breaking Change
移除对 Gitment 的支持,并修改 _config.yml
文件:
- gitment:
- enable: false
- owner:
- repo:
- client_id:
- client_secret:
- lazy: true
cdn:
- gitment_js:
- gitment_css:
- gitment_md5:
v1.3.0
Features
- Add pjax support (0ca64cd)
Bug Fixes
💥 Breaking Change
Modify _config.yml
:
toc:
- max_depth: 6
+ max_depth: 4
footer:
icon:
- animation: true
+ animation: false
back2top:
- animation: true
+ pjax:
+ enable: true
+ elements:
+ selectors:
+ switches:
+ switchesOptions:
+ history: true
+ scrollTo: false
+ scrollRestoration: false
+ cacheBust: false
+ debug: false
+ currentUrlFullReload: false
+ timeout: 0
cdn:
+ pjax:
Optimization
Significantly improve the performance of the theme.
下面是中文翻译:
新功能
- 添加 pjax 支持 (0ca64cd)
问题修复
💥 Breaking Change
对 _config.yml
文件的一些修改:
toc:
- max_depth: 6
+ max_depth: 4
footer:
icon:
- animation: true
+ animation: false
back2top:
- animation: true
+ pjax:
+ enable: true
+ elements:
+ selectors:
+ switches:
+ switchesOptions:
+ history: true
+ scrollTo: false
+ scrollRestoration: false
+ cacheBust: false
+ debug: false
+ currentUrlFullReload: false
+ timeout: 0
cdn:
+ pjax:
优化
大幅度提高主题性能
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
Features
- Add tag plugin of 'friends' (6c09945)
- Add tag plugin of 'note' (c9d5e81)
- Add tag plugin of 'table' (1d86188)
- Add lazyload of images (0699e51)
- Add enlarge the image when clicked without dependencies (6a8023a)
- Add support with toc & reward & copyright in front-matter (350fc82)
Bug Fixes
- Change the cdn of canvas-nest to fix the problem of display (1ae8079)
💥 Breaking Change
Delete some config:
- sidebar:
- width: 300px
- social_setting:
- text_align: center
- text_vertical_align_with_img: # top | middle | bottom
下面是中文翻译:
新功能
- 添加标签插件:'friends' (6c09945)
- 添加标签插件:'note' (c9d5e81)
- 添加标签插件:'table' (1d86188)
- 添加文章中的图片懒加载功能 (0699e51)
- 主题添加默认支持图片点击放大的功能(无第三方依赖) (6a8023a)
- 添加文章中的 Front-matter 的属性
toc & reward & copyright
,用于覆盖全局设置 (350fc82)
问题修复
- 修复 canvas-nest 的显示问题 (1ae8079)
💥 破坏性更改
删除一些配置:
- sidebar:
- width: 300px
- social_setting:
- text_align: center
- text_vertical_align_with_img: # top | middle | bottom
v1.1.4
Features
- Support fancybox & 'photos' attribute of front-matter (23cf50f)
- Add advertising support by google adsense (b192294)
Notice: "Add advertising support" means that you can decide whether to put Google advertising in your site, rather than block it.
Bug Fixes
- Solve that external icon showing on new line (3a08c20)
- Solve that can't click header item when notice component alert (3cab3f3)
下面是中文翻译:
Features
注:这里对广告的支持,并不是屏蔽广告,而是用户可以选择是否在网站里投放 Google 广告。