Skip to content

Releases: imfing/hextra

v0.8.0

02 Jun 12:51
3cba6b9
Compare
Choose a tag to compare

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

v0.7.3

17 Feb 23:08
10907cd
Compare
Choose a tag to compare

What's Changed

  • fix: resolve padding issue for code blocks with filenames but without lang highlight by @imfing in #297
  • fix: clear top margin for nested list recursively by @imfing in #280
  • chore: add gitlab icon to icons.yaml by @vinnciane in #285
  • chore(i18n): add Persian translation by @Goudarz in #294

New Contributors

Full Changelog: v0.7.2...v0.7.3

v0.7.2

03 Feb 16:13
7191e25
Compare
Choose a tag to compare

What's Changed

Showcase

i18n

New

  • feat: add canonical to head.html by @mafendi in #269
  • chore: add canonical URL to head template by @davlgd in #261

Fixes

  • fix: accurate editURL resolution in translated sites by @imfing in #264
  • fix: details toggle display issue by @imfing in #273
  • fix: set top margin to zero for nested list by @imfing in #276

New Contributors

Thank you all for the contributions 🚀 🎉

Full Changelog: v0.7.1...v0.7.2

v0.7.1

08 Jan 18:35
f5e4283
Compare
Choose a tag to compare

What's Changed

Some minor fixes and documentation updates

New Contributors

Thank you for contributing!

Full Changelog: v0.7.0...v0.7.1

v0.7.0

17 Nov 23:49
d58a8b5
Compare
Choose a tag to compare

New Features

🧑‍💻👩‍💻 Display author images in blog post (by @imfing in #204)

Example blog post frontmatter:

---
authors:
  - name: imfing
    link: https://github.com/imfing
    image: https://github.com/imfing.png
  - name: Octocat
    link: https://github.com/octocat
    image: https://github.com/octocat.png
---

Separator in sidebar (by @imfing in #199)

Example docs frontmatter:

---
title: Separator-1
weight: 6
sidebar:
  separator: true
_build:
  render: never
excludeSearch: true
---

Exclude page from sidebar (by @imfing in #209)

---
title: Configuration
sidebar:
  exclude: true
---

Improvements

  • feat: allow overriding poweredBy in footer by @imfing in #207
  • feat: add include shortcode by @imfing in #198
  • fix: code copy issue for code blocks in shortcode by @imfing in #201
  • typo: fix typos in sidebar.html by @xiln7 in #203

New Contributors

  • @xiln7 made their first contribution in #203

Full Changelog: v0.6.5...v0.7.0

v0.6.5

10 Nov 23:48
21b0acd
Compare
Choose a tag to compare

What's Changed

  • chore: improve cards compatibility with steps by @imfing in #197

Full Changelog: v0.6.4...v0.6.5

v0.6.4

10 Nov 22:28
c0a1bc3
Compare
Choose a tag to compare

Improvements

  • fix: navbar url for multi-lang site by @imfing in #193
  • fix: correctly set editURL in front-matter by @imfing in #195
  • fix: ensure relref in search index is properly rendered by @imfing in #196

Full Changelog: v0.6.3...v0.6.4

v0.6.3

05 Nov 10:31
678f0b8
Compare
Choose a tag to compare

Improvements

  • fix(docs): showcase starter template URL by @saurabh-mish in #189
  • fix: htmlUnescape toc title by @imfing in #190

Full Changelog: v0.6.2...v0.6.3

v0.6.2

03 Nov 20:49
363c8c9
Compare
Choose a tag to compare

Improvements

  • fix(style): add backdrop to code copy button by @imfing in #185
  • fix: scroll bug due to incorrect toggle state by @imfing in #186

Full Changelog: v0.6.1...v0.6.2

v0.6.1

01 Nov 20:34
7be079f
Compare
Choose a tag to compare

Improvements

  • chore(style): enhance not-prose elements styling by @imfing in #163
  • fix: plainify Toc headings by @imfing in #178
  • docs: add instructions for configuring layouts by @imfing in #167
  • chore: support services.googleAnalytics.ID by @imfing in #173

🌐 Internationalization

  • chore(i18n): add French translation by @c2tz in #166
  • i18n: Add language strings for Norwegian bokmål and Norwegian nynorsk by @bep in #172
  • i18n: update pt.yaml by @LITUATUI in #174
  • i18n: refactor translations for docs site by @imfing in #181
  • i18n: update es.yaml by @tehuel in #180

New Contributors

Thank y'all ❤️

Full Changelog: v0.6.0...v0.6.1