v0.4.0 - 4 January 2026
🔀 Merged PRs
This release includes 55 merged pull requests that have been successfully integrated into the codebase.
Click to expand merged PRs
- Add option to show last modified time in post layout by @Lruihao in #678
- Move the expiration reminder outside the content by @Lruihao in #677
- Archetypes: Update markdown syntax and remove uncommon front matter in templates by @Lruihao in #676
- Deps-dev: Bump fs-extra in the npm-development group by @dependabot in #674
- Deps: Bump peter-evans/create-pull-request from 7 to 8 by @dependabot in #673
- Search: Enable anchorify for headings in search results by @Lruihao in #672
- Tabs: Add support for Mermaid diagrams within tabs by @Lruihao in #671
- Dict type page parameters fall back to site parameters using merge behavior by @Lruihao in #670
- Enhance sticky behavior for TOC and code headers in responsive design by @Lruihao in #669
- Use CSS variables for global colors and improve theme support by @Lruihao in #668
- Readme: Update hugo-fixit component list by @github-actions[bot] in #667
- Add blacklist option for image optimisation and adapt Hugo 0.153.0+ by @Lruihao in #666
- Consolidate code block rendering and enhance styling features by @Lruihao in #665
- Code block wrapper by @Lruihao in #665
- Deps-dev: Bump the npm-development group with 2 updates by @dependabot in #663
- Deps: Bump actions/checkout from 5 to 6 by @dependabot in #662
- Add styles to hide empty aside and expand article for better layout on medium screens by @Lruihao in #659
- Update asset paths to use unique file IDs for better resource management by @Lruihao in #658
- Implement TOC drawer feature by @Lruihao in #657
- Refactor duplicated code in theme.js by @Copilot in #655
- Deps-dev: Bump @antfu/eslint-config from 5.4.1 to 6.2.0 by @dependabot in #654
- Deps-dev: Bump the npm-development group with 4 updates by @dependabot in #653
- Hide line number column in code block for RSS feed by @Lruihao in #652
- Add APlayer shortcode and audio support by @Lruihao in #650
- Deps-dev: Bump the npm-development group with 2 updates by @dependabot in #646
- Deps: Bump actions/setup-node from 5 to 6 by @dependabot in #645
- Deps: Bump github/codeql-action from 3 to 4 by @dependabot in #644
- Add JSON Viewer support and related configurations by @Lruihao in #643
- Improve relative URL handling for subdirectory deployments by @Lruihao in #642
- Add support for center-aligned alerts in admonition syntax by @Lruihao in #640
- Deps-dev: Bump the npm-development group with 9 updates by @dependabot in #638
- Improve fuse search config for multilingual support by @dawnkylin in #639
- Adjust the loading order and output path of theme resources by @Lruihao in #635
- Add tabs and tab shortcodes support by @Lruihao in #634
- Params configurations case insensitive for mathjax and watermark by @Lruihao in #633
- Deps-dev: Replace fixit-releaser with auto-changelog-plus by @Lruihao in #631
- Deps: Bump actions/checkout from 4 to 5 by @dependabot in #630
- Structure refactor, linting, and monorepo setup by @Lruihao in #629
- Add height transitions for detail content and code block content by @Lruihao in #628
- Add layout loaders and layout configuration for Mermaid diagrams by @Lruihao in #627
- Add
enableTranslationMergeparameter for merging missing translations from other languages by @Lruihao in #626 - Update CodeQL configuration, add Hugo test build workflow by @Lruihao in #625
- Add color preview models support by @Lruihao in #624
- Mermaid theme switching again by @Lruihao in #623
- Enhance Mermaid configuration and fix initialization bug by @Lruihao in #617
- Improve Mermaid initialize by @Lruihao in #615
- Update layout and media styles to use
fi-containerclass, improve Mermaid script handling by @Lruihao in #614 - Update hugo-fixit component list by @github-actions[bot] in #613
- Global/site/page scope state management by @Lruihao in #610
- Mathematical formula render by @Lruihao in #609
- Add underscore to
partialsandshortcodesdirectory names by @Lruihao in #608 - Move all files in layouts/_default up to the layouts/ root by @Lruihao in #607
- ⬆️ Chore(libs): update Twikoo from 1.6.22 to 1.6.44 by @Lruihao in #606
- ⬆️ Chore(deps-dev): bump @hugo-fixit/fixit-releaser from 1.1.5 to 1.1.6 by @dependabot in #605
- Invalid Mastodon configuration and icon function param error by @Lruihao in #601
⚠️ Breaking Changes
- 💥 rename directory
layouts/_partials/scratchtolayouts/_partials/store9293ee2by @Lruihao - Remove deprecated legacy plugin and update image handling
ebfa5adby @Lruihao
🎉 New Features
- Add option to show last modified time in post layout (#678)
a792139by @Lruihao - Enhance sticky behavior for TOC and code headers in responsive design (#669)
74ed94bby @Lruihao - Add blacklist option for image optimisation and adapt Hugo 0.153.0+ (#666)
3f14576by @Lruihao - Code block wrapper (#665)
93478b4by @Lruihao - Add styles to hide empty aside and expand article for better layout on medium screens (#659)
2cbf7aaby @Lruihao - Implement TOC drawer feature (#657)
aad7504by @Lruihao - Add APlayer shortcode and audio support (#650)
fe129ddby @Lruihao - Add JSON Viewer support and related configurations (#643)
fa94e69by @Lruihao - Add support for center-aligned alerts in admonition syntax (#640)
94968bbby @Lruihao - Add tabs and tab shortcodes support (#634)
56836ebby @Lruihao - Add height transitions for detail content and code block content (#628)
e9366b5by @Lruihao - Add layout loaders and layout configuration for Mermaid diagrams (#627)
2d581efby @Lruihao - Add
enableTranslationMergeparameter for merging missing translations from other languages (#626)cc2ef7bby @Lruihao - Add color preview models support (#624)
c890f61by @Lruihao - Enhance Mermaid configuration and fix initialization bug (#617)
e04bb61by @Lruihao - Code block wrapper (#665)
93478b4by @Lruihao - Adjust header styles for improved layout and accessibility (close #471)
6f99565by @Lruihao - Update code type map with additional languages and improved documentation
6f27a2bby @Lruihao - Update TOC styles and improve active state handling in dialog
237c2f3by @Lruihao - Add diagram copy button support for Mermaid and ECharts (#616)
7b9c3e6by @Lruihao - Enhance search functionality with additional attributes and improved anchor handling
1ba0303by @Lruihao - Update version shortcode with
deprecatedtype051f45aby @Lruihao - Implement Gravatar functionality and refactor avatar handling in profile
c76cb4cby @Lruihao - Only show profile and content on first home page
7d530c9by @Lruihao - Enhance breadcrumb and media styles for improved layout and responsiveness
efeb70eby @Lruihao - Add
envshortcode for conditional content rendering based on Hugo environment9bcdbe3by @Lruihao - Add code block render hook for RSS page (#651)
4d3b556by @Lruihao - Enhance RSS feed content processing by removing unnecessary wrappers and converting JSON viewer components to code blocks (#651)
924d72fby @Lruihao - Post-chat-ai: Add podcast support and enhance post summary configuration
fcbd893by @Lruihao - Update PostChat AI link and add hotwords feature support
c4a1c79by @Lruihao - Add
shortTitlefront matter param for breadcrumb and collection navigation titles to usefe351c7by @Lruihao - Add page param
decreaseH1to decrease the H1 heading level in content014e1faby @Lruihao - Update the homepage README format to include links and the current year
c3cba94by @Lruihao - Enable profile display on home page and add option to show content only on the first page
4cd9a69by @Lruihao - Instant.page: Preload links as soon as they’re visible
63655b3by @Lruihao
🐛 Bug Fixes
- Tabs: Add support for Mermaid diagrams within tabs (#671)
825d458by @Lruihao - Dict type page parameters fall back to site parameters using merge behavior (#670)
d55d537by @Lruihao - Update asset paths to use unique file IDs for better resource management (#658)
32627dcby @Lruihao - Hide line number column in code block for RSS feed (#652)
f984fc6by @Lruihao - Improve relative URL handling for subdirectory deployments (#642)
664e9f0by @Lruihao - Improve fuse search config for multilingual support (#639)
5c07b37by @dawnkylin - Params configurations case insensitive for mathjax and watermark (#633)
fde7e1cby @Lruihao - Invalid Mastodon configuration and icon function param error (#601)
2cb4bb2by @Lruihao - Improve code block handling and compatibility for non-Chromium browsers
0a614e1by @Lruihao - Theme configuration failed to be retrieved for articles with Chinese paths
44d68d9by @Lruihao - Code block mac mode and gist shortcode styles
e600d04by @Lruihao - Support KaTeX and MathJax in home scope
5d03f55by @Lruihao - Update image processing configurations for improved performance and quality
0978234by @Lruihao - Normalize language class names in code titles for consistency
066c82cby @Lruihao - Dirty hack for Mermaid loading
3c3f608by @Lruihao - Update back-to-top button styles for better compatibility and performance
0630497by @Lruihao - Add Mermaid support in home scope
841eb3dby @Lruihao - Code-block: Code block header sticky top error inside admonition content
81f867dby @Lruihao - Ensure URL parameter is validated before processing remote JSON
4fec1cdby @Lruihao - Update echarts and mermaid pre containers styles
88dfed5by @Lruihao - Adjust margins and widths in TOC styles for better layout
9c05109by @Lruihao - Ensure that the config of each page is unique
dd877f8by @Lruihao - Xypic diagram color at dark theme and update MathJax script loading options
42a5ebdby @Lruihao - Func: Trim suffix zero in format-number function
74f9999by @Lruihao - Update image dimensions for featured image preview in summary layout
fdcc20aby @Lruihao - Config.js was not working on multilingual sites (#658)
ffe0c3bby @Lruihao - Update reading progress bar colors and improve default values
af3be7aby @Lruihao - If content/_index.md exist, config error
06273f7by @Lruihao - Adjust margins and padding for tab-container to improve layout consistency
8635841by @Lruihao - Enhance diagram copy button functionality and ensure Echarts visibility on home page
5c74d43by @Lruihao - Remove paginate setting and update mainSections comment in hugo.toml
a228cceby @Lruihao - Update TOC drawer button visibility logic
afc8c07by @Lruihao - Typo
3482b8bby @Lruihao - MathJax: Parsing error after decrypting encrypted articles
9c98f21by @Lruihao - Remove redundant ESC key event listener for dialog
b78f22bby @Lruihao - ZenUML intersection height error
08d3c62by @Lruihao - The missing space before the link target attribute
1039e32by @Lruihao - Simplify pagination condition in home layout
b850cfcby @Lruihao - Img: Remove lazy loading background style from img
d637c8bby @Lruihao - Update TOC handling logic to use showToc flag
8ffb9a9by @Lruihao - Improve warning messages for remote image retrieval failures
1bb21fcby @Lruihao - Update MathJax options to disable menu when explicitly set to false
8cc38f6by @Lruihao - Update mermaid script options to use correct template and production minification
da7569bby @Lruihao - Code: Adjust max-width of code block titles for better layout
84c1358by @Lruihao - Add margin between consecutive boxed json-viewer elements
9ce1da1by @Lruihao - Update button colors for improved theme consistency
3f80934by @Lruihao - Hide back-to-top button by default in widgets
c8223a7by @Lruihao - A form field element should have an id or name attribute
f23f793by @Lruihao - Add missing 'const' keyword for CACHE_VERSION declaration
113ad24by @Lruihao - Ensure max-width is applied to aside element for consistent layout
a78c07fby @Lruihao
⚡ Performance Improvements
- Search: Enable anchorify for headings in search results (#672)
e87060fby @Lruihao - Optimizes on-demand loading of third-party resources
99fd4fbby @Lruihao - Add bluesky shortcode with remote JSON retrieval and styling
7efb9fcby @Lruihao - Update card backdrop background to utilize dynamic logo image
dcc5e32by @Lruihao - Adjust toc-dialog width and margin for better layout
3f5d0e0by @Lruihao - Enhance
forEachmethod in Util class to handle asynchronous handlersb27a309by @Lruihao
♻️ Refactoring and Updates
- Move the expiration reminder outside the content (#677)
2c2b25dby @Lruihao - Use CSS variables for global colors and improve theme support (#668)
37a799bby @Lruihao - Consolidate code block rendering and enhance styling features (#665)
f2b6218by @Lruihao - Code block wrapper (#665)
93478b4by @Lruihao - Refactor duplicated code in theme.js (#655)
96b2f5fby @Copilot - Adjust the loading order and output path of theme resources (#635)
50488dfby @Lruihao - Mermaid theme switching again (#623)
77fcd7fby @Lruihao - Improve Mermaid initialize (#615)
bf3fe68by @Lruihao - Update layout and media styles to use
fi-containerclass, improve Mermaid script handling (#614)45f101aby @Lruihao - Global/site/page scope state management (#610)
3e8bdfdby @Lruihao - Mathematical formula render (#609)
0ce74d8by @Lruihao - Add underscore to
partialsandshortcodesdirectory names (#608)a561450by @Lruihao - Move all files in layouts/_default up to the layouts/ root (#607)
6123eaaby @Lruihao - Table wrapper via table render hook
c35dce5by @Lruihao - Code block wrapper (#665)
93478b4by @Lruihao - Migrate partial SCSS variables to CSS variables
a96a76aby @Lruihao - Add xml-content partial for enhanced content processing in RSS/Atom feeds
dba83f8by @Lruihao - Update CSS variable prefixes to use rootPrefix for consistency
59bea1eby @Lruihao - Enhance code/diagram copy button functionality and styling
10b355bby @Lruihao - Add code block render hooks for xml feed content (#651)
4d95fd8by @Lruihao
📝 Documentation Changes
- Archetypes: Update markdown syntax and remove uncommon front matter in templates (#676)
5b8ea64by @Lruihao - Readme: Update hugo-fixit component list (#667)
e501477by @github-actions[bot] - Update layout and media styles to use
fi-containerclass, improve Mermaid script handling (#614)45f101aby @Lruihao - Update the security policy document
9c29481by @Lruihao - Update contributing guidelines to follow Conventional Commits
0f68046by @Lruihao - Update menu configuration syntax in hugo.toml
26dc22bby @Lruihao
✅ Changes to Test Assets
- Add Mermaid diagram test cases and fix configuration missing
d4305d9by @Lruihao - Migrate tests from docs repo
f771f6aby @Lruihao - Add KaTex and MathJax test files for rendering examples
4abf68bby @Lruihao - Add comprehensive tests for Alerts Markdown syntax and Admonition shortcode
f5dd258by @Lruihao - Add test cases site
6297849by @Lruihao - Update JSON Viewer Test cases
486e875by @Lruihao
🎨 Tidying of Code eg Whitespace
Full Changelog: v0.3.20...v0.4.0
New Contributors
- @dawnkylin made their first contribution in #639