21 Commits
Author SHA1 Message Date
George Cushen a034cf7dbe docs: edit 2026-04-29 10:29:48 +01:00
George Cushen a955161dbb fix(spacing): connect section spacing to design token system
Wire .hbb-section to var(--hb-spacing-section) instead of hardcoded 6rem,
enabling hugoblox.layout.spacing (compact/comfortable/spacious) to take effect.

- Default to "spacious" (6rem) to preserve existing visual layouts
- Per-section override via design.spacing.padding still works (inline > class)
- Remove dead design.spacing frontmatter field from all templates
- Set correct layout.spacing token in each template's params.yaml

Closes #3314
2026-04-08 18:19:15 +01:00
George Cushen ee683c8cd1 feat(hugo): replace deprecated cascade._target for Hugo v0.156+ compatibility 2026-03-27 04:17:17 +00:00
George Cushen 815d25ca9d feat(hugo): replace deprecated language APIs for Hugo v0.158+ compatibility
Replace site.LanguageCode → site.Language.Locale and
.Language.LanguageCode → .Language.Locale in module layouts,
and languageCode → locale in all template language configs.
2026-03-27 03:30:44 +00:00
George Cushen 2bb78df692 refactor(frontmatter): rename hide_date → show_date for consistent positive booleans
All other display toggles use positive naming (show_*, toc, share, etc.).
Flipping to show_date (default: true) aligns the API and reduces cognitive load.

BREAKING CHANGE
2026-03-26 23:17:42 +00:00
George Cushen 24dc36f6d7 feat(typography): extend typography system with Google Fonts and font packs 2026-03-03 00:30:27 +00:00
George Cushen 764756ab50 feat(hugo): add support for Hugo v0.153 breaking changes
migrate deprecated `includeFiles` to `files` glob slice (Hugo >= 0.153.0)

Replace `module.mounts.includeFiles` with the new `files` setting
introduced in Hugo v0.153.0. Update minimum Hugo version accordingly.

Affected files:
- modules/blox/hugo.yaml
- All template module.yaml configs (7 templates)

BREAKING CHANGE

See: https://gohugo.io/configuration/module/#files
2026-02-19 14:57:09 +00:00
George Cushen 214e40464e chore: edit socials 2026-02-15 20:54:34 +00:00
George Cushen 14a6fcf7ff docs: edit 2026-01-17 19:43:45 +00:00
George Cushen 71baea8b57 tpl: allow previews 2026-01-13 19:49:37 +00:00
George Cushen d7ada2b73f docs: edit 2026-01-10 15:53:35 +00:00
George Cushen ad2af1f352 refactor: repo rename 2026-01-02 22:07:38 +00:00
George Cushen f4280ddb1c refactor: rename modules and update migration docs
BREAKING CHANGE
Module paths moved to `github.com/HugoBlox/kit` with new names:
- core `blox-tailwind` → `blox`
- analytics → `analytics`
- netlify → `integrations/netlify`
- slides (reveal) → `slides`
Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
2026-01-02 20:59:48 +00:00
George Cushen 8441dd2471 refactor: rename repo 2026-01-02 19:02:59 +00:00
George Cushen 6158e5eaf9 fix: Creative Commons footer attribution text and icons
Also, drops experimental license type 'all_rights'

Fixes #3289
2025-12-15 19:16:54 +00:00
George Cushen abfdad1620 feat: remove abandonware (Commento)
Recommend Giscus
2025-12-07 07:12:42 +00:00
George Cushen 373eb7966e feat: standardize site params to schema v2
BREAKING CHANGE:

Restructures `params.yaml`. Refer to v0.11.0 Migration Guide at https://docs.hugoblox.com
2025-12-01 03:09:31 +00:00
George Cushen d1e63984e6 feat: add theme engine + standardize params.yaml
Re-implements theme engine in Tailwind from the previous Bootstrap version.

Re-organizes appearance params in `params.yaml`.

Also,
- edit Readme
- add popular front matter alias `description` for `summary`
  - Created a new helper function: get_summary.html
  - Implements the priority order: .Params.summary > .Params.description > .Params.abstract > .Summary.
- clamp abstract in date-title-summary view
- default gradient mesh block bg to primary-secondary gradient from theme pack
- improve inline code styling - remove backticks around code

BREAKING CHANGE:
`params.yaml` data structure has changed - see docs and latest templates for example
2025-11-30 04:45:38 +00:00
George Cushen 51efdcd098 feat(themes): new color theme engine & packs 🎨
- **New Hybrid Engine:** Fully data-driven theming using YAML (`modules/blox-tailwind/data/themes/`). Supports:
  - **Palette Mode:** `primary: "indigo"` loads exact Tailwind 50-950 scales (OKLCH) for perfect utility matching.
  - **Hex Mode:** `primary: "#brand"` auto-generates accessible 50-950 tint/shade scales.
  - **Semantic Overrides:** `ui.header.background` accepts gradients, transparency, and images.
  - **Neutral Mapping:** Themes can retarget the gray scale (e.g. `neutral: "stone"` warms up the entire UI).

- **New Theme Packs:**
  - `default` (Blue/Sky + Dark)
  - `contrast` (High Contrast Light)
  - `latte` (Warm Coffee/Stone)
  - `dracula` (Dark Purple/Pink)
  - `americano` (Dark Espresso)
  - `marine` (Deep Ocean/Teal)
  - `retro` (Vintage Paper)
  - `synthwave` (Neon/Purple)
  - `cupcake` (Light Pink/Fuchsia)

- **Architecture:**
  - Standardized on `appearance.theme.light` / `appearance.theme.dark` config.
  - Legacy `appearance.color` remains as a primary color override.

This overhaul enables colored backgrounds/navbars, enables mix-and-match themes, and future-proofs the styling system for Tailwind v4.
2025-11-30 04:45:38 +00:00
George Cushen e9a47baa66 feat(seo): enhancements for rich Google and LLM results
Add WebPage/CollectionPage schema, BreadcrumbList, and configurable llms.txt output for better rich results and AI crawling.

New `marketing.seo.llm` params added to `params.yaml` to config llm scraping prefs.
2025-11-23 03:42:43 +00:00
George Cushen 5f2290d590 starters: standardise starters dir name to templates 2025-10-23 23:43:50 +01:00