惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
月光博客
月光博客
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
小众软件
小众软件
B
Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
美团技术团队
Y
Y Combinator Blog
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
爱范儿
爱范儿
B
Blog RSS Feed
V
Visual Studio Blog
MyScale Blog
MyScale Blog

Butterfly

Alternative Methods After Butterfly Removes Built-in APlayer / Meting Butterfly 5.6 Release Notes Butterfly 5.5 Release Notes Butterfly 5.4 Release Notes Butterfly 5.3 Release Notes Butterfly 5.2 Release Notes Butterfly 5.1 Release Notes Butterfly 5.0 Release Notes Butterfly 4.13 Release Notes Butterfly 4.12 Release Notes Butterfly 4.11 Release Notes Butterfly Changelog Butterfly document - Advanced Tutorial Butterfly document - Q&A Butterfly document - Tag Plugins Butterfly document - Theme Configuration Butterfly document - Theme Pages Butterfly document - Get Started Custom Sidebar When Setting top_img to false Customize code coloring no cover Tag Plugins Markdown Style test
Butterfly 4.10 Release Notes
Jerry · 2023-10-08 · via Butterfly

Breaking Changes

  1. Changed rightside-bottom to rightside_bottom.

    1
    2
    - rightside-bottom:
    + rightside_bottom:
  2. Refactored the gallery tag plugin.

    1. Changed the implementation.

    2. Images are now loaded only when they are scrolled into view.

    3. Changed the dependency from nk-o/flickr-justified-gallery to egjs-infinitegrid.

      1
      2
      3
      4
      5
        CDN:
      option:
      - # flickr_justified_gallery_js:
      - # flickr_justified_gallery_css:
      + # egjs_infinitegrid:
  3. Changed ClickShowText to clickShowText

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    -ClickShowText:
    +clickShowText:
    enable: false
    text:
    - I
    - LOVEeeeeeeeeeeeee
    - YOU
    fontSize: 15px
    random: true
    mobile: false

    CDN:
    option:
    - ClickShowText:
    + clickShowText:

Features

  1. Changed the position of the sticky icon to the left of the title.

  2. Added the ability to customize the text of the reward button.

    1
    2
    3
    4
     reward:
    enable: false
    + text:
    QR_code:
  3. Added support for displaying series posts in the right panel.

    1
    2
    3
    4
    5
    aside:
    + card_post_series:
    + enable: true
    + orderBy: 'date' # Order by title or date
    + order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
  4. Added support for displaying series posts using the series tag plugin.

    1
    2
    3
    4
    5
    +series:
    + enable: true
    + orderBy: 'title' # Order by title or date
    + order: 1 # Sort of order. 1, asc for ascending; -1, desc for descending
    + number: true
  5. Removed the addthis sharing plugin.

    1
    2
    3
    -addThis:
    - enable: false
    - pubid:
  6. Added an icon before the text in the copyright section.

  7. Added the ability to configure attributes for getScript.

  8. Added support for left and right alignment of article text.

    1
    2
    +# Stretches the lines so that each line has equal width(文字向兩側對齊,對最後一行無效)
    +text_align_justify: true
  9. Added support for preconnecting to the CDN based on configuration.

  10. Removed the button for anchors and made the title clickable to jump to the anchor.

    1
    2
    3
    4
    5
    6
    7
    8
    anchor:
    - button:
    - enable: false
    - always_show: false
    - icon: # the unicode value of Font Awesome icon, such as '\3423'
    auto_update: false # when you scroll in post, the URL will update according to header id.
    + # Click the headline to scroll and update the anchor
    + click_to_scroll: false
  11. Changed the hover effect of headlines.

Fix

  1. Fixed a bug where pjax would return a 404 error when the website was in a subdirectory.
  2. Fixed a bug where the scrollbar color was not clear on small screens in dark mode.
  3. Fixed a bug where the border in the TOC was abnormal when the font size was greater than 17px.
  4. Fixed a bug where the width of comments was abnormal in float layout.
  5. Fixed a bug where searching for < and > did not return results when the search file was XML.
  6. Fixed a bug where the top image effect on the homepage was delayed during scrolling.
  7. Fixed a bug where the caption of an image overlapped with the image in the note tag plugin.

Improvement

  1. Adjusted the left and right margins of social icons on the homepage.
  2. Optimized the code.
  3. Adjusted the position of the "back to top" arrow in the tabs tag plugin.
  4. Updated plugin.yml.
  5. efactored the code in main.js.
  6. Optimized performance under pjax.
  7. Optimized the opening and closing effects of the TOC on mobile devices.
  8. Changed the article entry effect to use transform and optimized the stylus.
  9. Prevented elements from being squeezed when the sidebar has a scrollbar.
  10. Fixed a cross-domain issue caused by extra slashes in the URL for Waline.
  11. Improved the wording in some language files.
  12. Displayed "0" when the comment count could not be obtained for Disqus and Disqusjs.
  13. Changed the method of obtaining the comment count for Disqusjs to use the API.
  14. Removed the bottom margin of the last element in the tabs content.
  15. Removed the noscript tag.

Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.

Buy Me a Coffee

  • Wechat

    Wechat

  • Alipay

    Alipay

  • Stripe

    Stripe

avatar

Jerry

A Simple and Card UI Design theme for Hexo

GitHub