Skip to content

v0.8.0

Compare
Choose a tag to compare
@imfing imfing released this 02 Jun 12:51
· 37 commits to main since this release
3cba6b9

What's Changed

Features

⚠️ BREAKING CHANGES:

  • 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

i18n 🌐

Bug Fixes

  • fix: RTL chevron rotation by @Goudarz in #302
  • fix: RTL Steps FileTree, feat: Add Persian number for ol 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

Full Changelog: v0.7.3...v0.8.0