Cell
de6894b817
Merge branch 'main' into v1
...
* main:
fix: Dart Sass compatibility + feat: add imagePreview config for home page (#741 )
2026-05-05 20:00:24 +08:00
Samir's Service Account
e68bdb374b
fix: Dart Sass compatibility + feat: add imagePreview config for home page ( #741 )
...
* Dart Sass calc compatibility
* Fix: Default to Dart Sass transpiler + silence deprecations
* Fix: Add imagePreview config toggle — wrap the featured image block
* Implement featured image preview in summary.html
Added featured image preview functionality to summary layout.
* Add imagePreview parameter to home posts configuration
Added option to control featured image preview in home posts.
* Enable image preview in home page post list
2026-05-04 13:44:01 +08:00
Cell
502e427a0c
perf(home): disable third-party resource loading on the home page, and improve plugin comments
2026-04-30 19:48:52 +08:00
Cell
530bc6cef6
feat(mermaid): add wrapper and filename named params support for shortcode
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-30 12:50:26 +08:00
Cell
e68d10d7d9
refactor(mermaid): performance optimization and support pan and zoom etc. ( #737 )
...
* perf(mermaid): optimize rendering by deferring non-critical tasks and enhancing viewport observation
* feat(mermaid): add panzoom and download svg actions for mermaid
* feat(mermaid): enhance diagram controls and add fullscreen action for code tabs
* feat(i18n): update translation keys for diagram and tab actions in multiple languages
* fix(mermaid): move mermaid-neutral inside diagram-container in wrapper mode
Agent-Logs-Url: https://github.com/hugo-fixit/FixIt/sessions/e79e837e-be0b-445c-8bd3-8c03cdce2651
Co-authored-by: Lruihao <33419593+Lruihao@users.noreply.github.com >
* fix(mermaid): update download filename for SVG export in diagram controls
* refactor(mermaid): refactor rendering logic and enhance task queue for improved performance
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-04-29 16:42:15 +08:00
Cell
295717a52d
fix(header): update header styles and improve layout structure
2026-04-20 17:41:25 +08:00
Cell
09e08d0772
refactor!: migrate theme assets from css to scss and centralize deprecation detection ( #735 )
...
**Breaking changes**:
1. Legacy custom style/script files are no longer loaded automatically.
2. Users must migrate custom files to:
- `custom.scss`
- `override.scss`
- `_variables.scss`
- `assets/js/custom.js`
**Migration guide**:
1. Move `assets/css/_custom.scss` to `assets/scss/custom.scss`.
2. Move `assets/css/_override.scss` to `assets/scss/override.scss`.
3. Keep variables in `assets/scss/_variables.scss`.
4. Move `assets/js/_custom.js` to `assets/js/custom.js`.
5. Rebuild site and verify no deprecation warnings remain.
2026-04-19 13:34:01 +08:00
Cell
9ada69ed71
feat(task-lists): add support for "Important Checked" task ( #734 )
2026-04-19 05:00:09 +08:00
Cell
1e0d1affaf
feat(taxonomy): support taxonomy_icons with shared icon resolver and front matter icon overrides ( #732 )
...
- Added new config section: `params.taxonomy_icons`
- Syntax: `<taxonomy> = [<title icon>, <card icon>, <term title icon>]`
- Added a shared resolver partial to centralize taxonomy icon lookup.
- Updated taxonomy-related templates to use the shared resolver instead of hardcoded icon maps.
- Added front matter overrides for taxonomy pages:
- `titleIcon`
- `cardIcon` (only for taxonomy `_index.md`)
Icon resolving priority now is:
1. Front matter override (`titleIcon` / `cardIcon`)
2. `params.taxonomy_icons` custom config
3. Built-in defaults (`tag`, `category`, `collection`)
2026-04-14 17:23:05 +08:00
Cell
557a59d7fd
chore(init): update warning messages for deprecated parameters
2026-04-13 14:49:54 +08:00
Cell
aef8eaf936
chore(debug)!: enable debug mode based on environment and remove params.dev.debug config
2026-04-12 13:49:21 +08:00
Cell
5f100a6cca
feat(link): add link_guard front matter and support for friend links
2026-04-12 13:29:05 +08:00
0x5c0f
75ee1624bd
feat(link): add external link guard feature support ( #729 )
...
* feat(external-link-guard): add native redirect mode and improve external-link guard UX
* fix(external-link-guard): remove redirect_url and clarify scope/new_tab_policy docs
* i18n(external-link-guard): localize guard texts across non-English locales
* feat(config)!: migrate `site.Params.externalIcon` to `site.Params.link.external_icon`
* refactor: implement regular and card link rendering
* feat(link-guard): implement link redirection page with copy and confirm functionality
* revert
* feat: implement link guard dialog for external links
---------
Co-authored-by: Cell <1024@lruihao.cn >
2026-04-11 14:37:31 +08:00
Cell
d45f6b1550
chore: add librarybot workflow for automated npm library updates ( #726 )
2026-04-08 17:52:52 +08:00
Cell
673be1e8c0
chore: update minimum Hugo version to 0.158.0 across documentation and configuration files
2026-04-07 14:48:20 +08:00
Cell
e527289140
feat(buttons): replace role="button" with button elements for improved accessibility
2026-04-07 14:06:06 +08:00
Cell
29ece68332
feat(accessibility): enhance accessibility features across components and improve focus management ( #725 )
2026-04-03 18:00:17 +08:00
Cell
741ef191bf
feat(task-list): add task list utility mixins and enhance rendering logic
2026-03-30 16:48:55 +08:00
Cell
164a699701
refactor(UI/UX)!: refactor styles for theme support and enhance visual consistency ( #722 )
...
* refactor(styles): unify theme properties and update color variables across stylesheets
* Implement theme mode support with light-dark color adjustments across stylesheets
- Added color-scheme support in _root.scss for light and dark modes.
- Replaced theme property mixins with light-dark function in various widget styles including _cell-tooltip.scss, _cookieconsent.scss, _fixed-button.scss, and others.
- Updated alert styles in _alert.scss to use light-dark for border and text colors.
- Refactored code syntax highlighting in _code.scss and _code-syntax/_index.scss to utilize light-dark for background gradients.
- Enhanced search input styles in _search.scss to adapt to theme mode.
- Modified theme switching logic in color-scheme.js and theme.js to support new theme mode structure.
- Adjusted APlayer and Valine styles to accommodate dark mode using new theme variables.
* feat(shortcode): add auto-dark shortcode for dark mode adaptation
* refactor(styles): update theme colors and improve box-shadow properties for better visual consistency
* feat(header): add scroll-state container queries and enhance header shadow effects
* feat(styles): enhance scroll behavior with overscroll-behavior adjustments for better UX
* feat(styles): update code&table styles and colors for improved visual consistency
* feat(styles): update color variables and improve font styling for better visual hierarchy
2026-03-30 16:48:55 +08:00
Cell
11954d833f
feat(header): refactored the blur effect to backdrop-filter and added a configuration switch ( #721 )
...
- Removed the old blur mixin based on filter: blur, and replaced it with backdrop-filter for a more modern frosted glass effect
- Added the `params.header.blur` configuration option, allowing users to enable/disable the header blur effect
- Refactored the masking interaction of the mobile menu and search, applying the blur class to the masking element instead of the body
- Updated the header animation class name to distinguish it from custom animations and avoid conflicts with Animate.css
- Adjusted responsive breakpoints, changing `xs` to `sm` to improve mobile display
- Optimized the header background color and the background color of the fixed buttons
2026-03-30 16:48:55 +08:00
Cell
cfa9bef6ac
refactor(layout): refactor single page layout and partials categorization
2026-03-30 16:48:55 +08:00
Cell
92b0a6b56e
chore(release): 0.4.5
2026-03-25 10:53:08 +08:00
Cell
9132b408c6
refactor(utils): migrate utility functions into common module and rewrite method calls
2026-03-24 11:36:28 +08:00
Cell
a53ef80035
feat(print): add print configuration options and enhance print functionality ( #720 )
2026-03-22 20:06:27 +08:00
Cell
0f2712f182
fix(tooltip): update cell-tooltip version to 0.3.0 and enhance code copy btn
2026-03-21 02:38:04 +08:00
Cell
d5aa013106
feat(code): remember the selected language of the code toggle
2026-03-21 00:47:12 +08:00
Cell
d9e45154ff
fix(code): repeated initialization of the code tab in the encryption page
2026-03-21 00:03:07 +08:00
Cell
b09555981b
feat(code): add toggle code block functionality and enhance code tabs ( #719 )
...
* feat(markup): add toggle code block functionality with multiple format support
* fix(assets): improve filename generation for code downloads
* feat(code): add `before_tabs` attribute support for tabbed code blocks
* feat(code): implement visibility control for first tab content in code blocks
2026-03-20 17:26:28 +08:00
Cell
65ad407cd0
style: improve documentation formatting for layouts
2026-03-20 11:44:15 +08:00
Cell
9e384b666f
fix(assets): update cell-tooltip v0.2.0 to fix the MIME type error for the .cjs extension ( #718 )
2026-03-20 11:20:25 +08:00
Cell
de38644d75
fix(assets): tab underline error position
2026-03-19 15:19:41 +08:00
Cell
c79badcf44
chore(release): 0.4.4
2026-03-19 14:15:16 +08:00
Cell
ccf17c6444
fix(assets): enhance tablist-wrapper styles
2026-03-19 12:47:17 +08:00
Cell
9bac69b2ec
fix: update print handling and improve file tree interactions
2026-03-19 11:42:15 +08:00
Cell
74b80bd94d
chore(libs): update Twikoo from 1.6.44 to 1.7.3 ( close #711 )
2026-03-18 15:21:20 +08:00
Cell
789973da78
chore(dev-deps): update dev dependencies
2026-03-18 12:29:29 +08:00
Cell
02ac3f5259
feat(code): add shadow effect for code blocks ( #713 )
2026-03-12 17:28:15 +08:00
Cell
f2c112e402
feat(code): add tabbed codeblocks support ( #710 )
2026-03-10 17:33:28 +08:00
Cell
8bf2fea735
fix(typeit): restore cursor color variable definition for proper styling
2026-03-08 18:07:16 +08:00
Cell
fe7105a38a
fix: optimize TOC initialization with a timeout and clean up button spacing in decryptor
2026-03-08 17:57:41 +08:00
Cell
d97e69ad0a
feat(tooltip): add cell-tooltip integration for footnote references a… ( #709 )
...
* feat(tooltip): add cell-tooltip integration for footnote references and initialize tooltips
* fix(code-header): add data-ct-tooltip attribute to action buttons for better accessibility
2026-03-06 19:25:35 +08:00
Cell
98a82d845a
refactor(Util): convert methods to static for better accessibility and usage
2026-03-06 10:46:47 +08:00
Cell
423a7ddbf7
fix(CSS): restore the definition of the $global-font-secondary-color variable; third-party components may reference it
2026-03-04 16:02:10 +08:00
Cell
da297a71f8
feat(shortcodes): add store flags for aplayer, music, mapbox, and fixit-encryptor
2026-03-04 11:26:03 +08:00
Cell
ba63d67a3c
chore(release): 0.4.3
2026-03-03 16:17:30 +08:00
Cell
69d8e67c24
feat(code): add fullscreen functionality for code blocks ( #707 )
2026-03-03 16:15:01 +08:00
Cell
6196cd5edf
feat(code): add download button for code blocks and related functionality ( #706 )
2026-03-02 17:34:57 +08:00
Cell
83a658ba25
fix(i): adjust background color and border color for fixed button
2026-03-02 14:56:09 +08:00
Cell
78a994b92b
chore(lib): update json-viewer-element version to 1.0.4 ( #705 )
2026-03-02 11:42:17 +08:00
Cell
c3ac728f04
feat(task-lists): update checked task item styles
2026-03-02 11:32:58 +08:00