Update v0.10.md

This commit is contained in:
Xin
2025-08-14 01:48:52 +08:00
committed by GitHub
parent 7d9d07bfdf
commit cc6d7e6e94

View File

@@ -10,7 +10,7 @@ tags:
draft: true draft: true
--- ---
Hextra v0.10.0 is the most significant release yet, delivering new capabilities, architectural upgrades, and quality-of-life improvements. Hextra v0.10.0 is a big release packed with new capabilities, architectural upgrades, and quality-of-life improvements.
<!--more--> <!--more-->
@@ -25,7 +25,7 @@ hugo mod get -u github.com/imfing/hextra@v0.10.0
## New Features ## New Features
#### Dropdown Menu Support in Navbar ### Dropdown Menu Support in Navbar
Create dropdown menus in your navigation bar for better navigation items organization. Create dropdown menus in your navigation bar for better navigation items organization.
@@ -44,7 +44,7 @@ menu:
![Dropdown menu navigation](https://github.com/user-attachments/assets/1816f9b9-7fe3-46e8-9546-f15e43e9914a) ![Dropdown menu navigation](https://github.com/user-attachments/assets/1816f9b9-7fe3-46e8-9546-f15e43e9914a)
#### Synchronized Tab Switching ### Synchronized Tab Switching
Tabs with the same items now synchronize across the page. When sync is enabled, selecting a tab updates all tab groups that share the same items list (and your selection is remembered). Tabs with the same items now synchronize across the page. When sync is enabled, selecting a tab updates all tab groups that share the same items list (and your selection is remembered).
@@ -55,7 +55,7 @@ params:
sync: true sync: true
``` ```
#### Blog List Pagination ### Blog List Pagination
Pagination controls have been added to blog listing pages. Pagination controls have been added to blog listing pages.
@@ -68,7 +68,7 @@ params:
![Blog pagination](https://github.com/user-attachments/assets/60405fb4-ec36-4733-ba13-b4066396b5c5) ![Blog pagination](https://github.com/user-attachments/assets/60405fb4-ec36-4733-ba13-b4066396b5c5)
#### Enhanced Search Experience ### Enhanced Search Experience
- **Search in all headings**: Find content across all heading levels, not just page titles - **Search in all headings**: Find content across all heading levels, not just page titles
- **Improved result accuracy**: Better title handling and linking precision - **Improved result accuracy**: Better title handling and linking precision
@@ -78,7 +78,7 @@ Kudos to [@ldez](https://github.com/ldez) for pushing the search capabilities fo
![Enhanced search results](https://github.com/user-attachments/assets/f819652a-95d4-4843-b7e2-c7953a8cabe8) ![Enhanced search results](https://github.com/user-attachments/assets/f819652a-95d4-4843-b7e2-c7953a8cabe8)
#### llms.txt Support ### llms.txt Support
Hextra now supports [llms.txt](https://llmstxt.org/) output format for your site, making your site more accessible to AI tools and language models for context and reference. Hextra now supports [llms.txt](https://llmstxt.org/) output format for your site, making your site more accessible to AI tools and language models for context and reference.
@@ -89,13 +89,13 @@ outputs:
This will generate an `llms.txt` file at your site's root. This will generate an `llms.txt` file at your site's root.
#### Table of Contents Scroll Highlighting ### Table of Contents Scroll Highlighting
The table of contents now automatically highlights the current section as you scroll through the page, making navigation more intuitive. The table of contents now automatically highlights the current section as you scroll through the page, making navigation more intuitive.
![ToC scroll highlighting](https://github.com/user-attachments/assets/d623fb99-7000-428b-af95-384eb722f0eb) ![ToC scroll highlighting](https://github.com/user-attachments/assets/d623fb99-7000-428b-af95-384eb722f0eb)
#### MathJax Support ### MathJax Support
Render mathematical expressions with [MathJax](https://www.mathjax.org/) alongside the default KaTeX support. Choose the engine that best fits your needs. Render mathematical expressions with [MathJax](https://www.mathjax.org/) alongside the default KaTeX support. Choose the engine that best fits your needs.
@@ -212,15 +212,6 @@ While Hextra handles the Tailwind CSS v4 migration internally, sites with heavy
- Internal CSS compilation now uses Tailwind CSS v4.x - Internal CSS compilation now uses Tailwind CSS v4.x
- Utitlity classes now prefix with `hx:` rather than `hx-` - Utitlity classes now prefix with `hx:` rather than `hx-`
### Automatic Features
The following improvements are enabled automatically with no configuration required:
- Table of Contents scroll highlighting
- Enhanced search across all heading levels
- Dynamic favicon switching based on color scheme
- Improved component styling consistency
## Contributors ## Contributors
This release was made possible by contributions from 10 new contributors: This release was made possible by contributions from 10 new contributors: