Skip to content

Releases: liuyib/hexo-theme-stun

v1.4.0

09 Sep 16:05
Compare
Choose a tag to compare

❗❗ 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

29 Aug 15:26
Compare
Choose a tag to compare

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:

下面是中文翻译:

问题修复

  • 修复启用 pjax 后 busuanzi & math & comments 失效的问题 (037bbc7)

  • 修复启用 pjax 后一些第三方依赖失效的问题 (29b8d02)

💥 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

28 Aug 10:27
Compare
Choose a tag to compare

Features

Bug Fixes

  • #9: Fix fancybox invalid when enable the lazyload of image (13122eb)

💥 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.


下面是中文翻译:

新功能

问题修复

  • #9: 解决了当启用图片懒加载后 fancybox 失效的问题 (13122eb)

💥 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

26 Aug 01:57
Compare
Choose a tag to compare

Bug Fixes

  • v1.2.4, v1.2.3: Solve that can't start when update to v1.2.3/4 (08bbc5a)

If your version is v1.2.3, v1.2.4, please update to the latest version.


下面是中文翻译:

问题修复

  • v1.2.4, v1.2.3: 解决了更新到 v1.2.3/4 版本后,无法启动的问题 (08bbc5a)

如果处于 v1.2.3, v1.2.4 版本 请更新到最新版本。

v1.2.4

25 Aug 15:42
Compare
Choose a tag to compare

Features

  • Add google & bing & baidu & 360 webmaster tools verification, optimize SEO (b9204b5)
  • Add google & tencent & baidu analytics support (aa202be)
  • Add secondary menu support (90acfdc)

下面是中文翻译:

新功能

  • 添加 google & bing & baidu & 360 站长管理工具,用于优化 SEO (b9204b5)
  • 添加 google & tencent & baidu 统计的支持 (aa202be)
  • 添加二级菜单的支持 (90acfdc)

v1.2.3

24 Aug 10:39
Compare
Choose a tag to compare

Features

Bug Fixes

  • Solve the local search can't work when use some comment system (bc8c2bd)

下面是中文翻译:

新功能

  • 添加 quicklink 的支持 (9c06aa4)

问题修复

  • 解决了启用某些评论系统时,localsearch 无法使用的问题 (bc8c2bd)

v1.2.2

08 Aug 14:11
Compare
Choose a tag to compare

Features


下面是中文翻译:

新功能

v1.2.1

08 Aug 01:10
Compare
Choose a tag to compare

Features

  • Add local search whitout dependencies (852f249)

下面是中文翻译:

新功能

  • 添加本地搜索,无第三方依赖 (852f249)

v1.2.0

04 Aug 01:22
Compare
Choose a tag to compare

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

25 Jul 02:15
Compare
Choose a tag to compare

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

  • 添加 fancybox 效果和对 front-matter 的 photos 属性的支持 (23cf50f)
  • 添加对 google adsense 广告的支持 (b192294)

注:这里对广告的支持,并不是屏蔽广告,而是用户可以选择是否在网站里投放 Google 广告。

Bug Fixes

  • 解决了标识外部链接的 Icon 换行显示的问题 (3a08c20)
  • 解决了弹出消息通知框时,无法点击网站导航栏的问题 (3cab3f3)