Releases: Hugolify/hugolify-theme
Releases · Hugolify/hugolify-theme
v2.0.0 — Framework-agnostic architecture
What's new in v2
hugolify-theme is now framework-agnostic. CSS and JavaScript are no longer bundled inside the theme — they are provided by a separate styling module declared explicitly in your site config.
This makes it possible to swap the entire CSS/JS layer (Bootstrap, Design System, Tailwind…) without touching the theme templates.
Official styling modules
| Module | CSS | JS |
|---|---|---|
| hugolify-theme-bootstrap | Bootstrap 5 + SASS | Bootstrap 5 + Vanilla JS |
| hugolify-theme-design-system (wip) | Vanilla CSS + Tokens | Vanilla JS |
Upgrading from v1
1. Update your import path
In config/_default/module.yaml:
imports:
- path: github.com/hugolify/hugolify-theme/v2
- path: github.com/hugolify/hugolify-theme-bootstrap 2. Breaking changes
| What | v1 | v2 |
|---|---|---|
| JS hooks | data-bs-toggle / data-bs-target |
class="js-*" + data-target |
| Grid columns | col-md-* |
col-small, col-medium, col-large, col-xsmall |
| Badge states | text-bg-* |
badge-* |
Documentation
Release 1.27.14
- chore: Remove Twitter privacy and service configurations from hugo.yaml. (e2264b8)
Release 1.27.13
- feat: Implement item pinning functionality using a
weightparameter and refactor context passing to header and footer partials for latest block. (aa5a752)
Release 1.27.12
- refactor: Update badge state class prefix from
text-bg-tobadge-. (66af7b5)
Release 1.27.11
- feat: Add semantic badge color classes and semantic column/offset classes with dynamic ratio mapping. (c355d51)
Release 1.27.10
- feat: implement Mermaid diagram rendering with a new shortcode and partial. (59bf154)
Release 1.27.9
- fix: Add guard clause to Menu constructor for missing component element. (9c47565)
Release 1.27.8
- feat: Pass
scrollsnapparameter topartialCachedfunction. (9beeccc)
Release 1.27.7
- fix: Refine active link detection logic to prevent the root URL from being active on all sub-pages. (fd3240a)