mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
16 hours ago acbfe4c331221b493fa3219684beb13f910e9154
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Saturday, November 21, 2026 05:21 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Saturday, November 21, 2026 05:21 +0100
commitacbfe4c331221b493fa3219684beb13f910e9154
tree c347bbf26365677ee23c2c371a10b144f597250d tree | zip | gz
parent 0d86514affd10f9a8efd1225c4b9a6dce76b1a1b view | diff
feat(styles): add hyphenation utility for post content

Tachyons has no hyphenation classes. Add a hyphenate utility class with
hyphens: auto and hyphenate-limit-chars, keep headings and code words
whole, and apply it to single-page content. Sites redefine the class in
custom CSS to change or disable it.
4 files modified
1 files added
56 ■■■■■ changed files
DESIGN.md 2 ●●●●● diff | view | raw | blame | history
assets/ananke/css/_styles.css 20 ●●●●● diff | view | raw | blame | history
layouts/page/single.html 2 ●●●●● diff | view | raw | blame | history
layouts/single.html 2 ●●●●● diff | view | raw | blame | history
tests/e2e/hyphenation.spec.ts 30 ●●●●● diff | view | raw | blame | history