v0.8.0
What's Changed
Features
- add
hx-
prefix to Hextra Tailwind CSS classes by @imfing in #300 - some Hextra built-in component classes have been renamed, custom CSS rules need to be updated after migrating to this new version
With the classes prefix change, it's much easier to utilize standard Tailwind CSS to stylize components and also reuse components from other places. For example:
See this discussion for more details.
Customize FlexSearch tokenize option (by @loenvom in #319)
params:
# ...
flexsearch:
# full | forward | reverse | strict
tokenize: forward
Sort Blog posts list (by @imfing in #348)
params:
blog:
list:
displayTags: true
# date | lastmod | publishDate | title | weight
sortBy: date
sortOrder: desc # or "asc"
Enable and disable code block copy button (by @imfing in #331)
params:
highlight:
copy:
enable: true
# hover | always
display: hover
Other new things
- feat: add support for
breadcrumbs
param in front matter for showing/hiding breadcrumbs on specific pages by @ggwicz in #367 - feat: add hextra hero-container shortcode by @fmunteanu in #389
- feat: configurable cols for feature-grid shortcode by @imfing in #342
- feat: add styles for definition list by @imfing in #344
- feat: pdf shortcode (unstable) by @imfing in #345
- feat: add title utility to get page or section title by @imfing in #325
Documentation
- chore(showcase): add AXIVO docs by @fmunteanu in #400
- chore(showcase): update AXIVO docs image format by @fmunteanu in #402
- docs: update zh-cn translation by @naranyinyun in #365
- docs: fix deploy-site zh-cn lang filename by @kowyo in #371
- docs: add i18n README links by @longlin10086 in #374
- docs: add showcase - HITSZ OpenAuto by @MaxwellJay256 in #373
i18n 🌐
- docs(i18n): add Persian translation and support rtl
languageDirection
by @Goudarz in #301 - i18n: add Ukrainian translation by @sergpryimachuk in #403
- i18n: Add Hebrew translation by @ShaharNaveh in #405
- i18n: add Dutch translation by @sbroekhoven in #383
- chore(i18n): add Romanian translation by @inttter in #313
- docs(i18n): add zh-cn translation of RSS button by @kowyo in #353
Bug Fixes
- fix: RTL chevron rotation by @Goudarz in #302
- fix: RTL
Steps
FileTree
, feat: Add Persian number forol
label counter and Steps by @Goudarz in #314 - fix: code copy button is invisible when hover by @imfing in #323
- docs(fix): correct a mistake in markdown guide by @lulunac27a in #394
- fix: indented callouts rendered incorrectly by @imfing in #338
- fix: use
hugo.IsMultilingual
to replace deprecated.Site.IsMultiLingual
by @deining in #404
Other Improvements
- refactor: extract card shortcode to partial by @imfing in #339
- chore: add BitBucket icon by @inttter in #303
- chore: improve search bar shortcut display by @imfing in #346
- chore(deps): bump npm package versions by @imfing in #361
- chore(deps): add taskfile and bump assets lib versions by @imfing in #362
New Contributors
- @inttter made their first contribution in #303
- @loenvom made their first contribution in #319
- @dogweather made their first contribution in #356
- @MaxwellJay256 made their first contribution in #373
- @sbroekhoven made their first contribution in #383
- @lulunac27a made their first contribution in #394
- @fmunteanu made their first contribution in #389
- @deining made their first contribution in #404
- @sergpryimachuk made their first contribution in #403
- @ShaharNaveh made their first contribution in #405
- @ggwicz made their first contribution in #367
Full Changelog: v0.7.3...v0.8.0