Commit Graph
345 Commits
Author SHA1 Message Date
George Cushen d1b9c1ffb8 feat: deprecate Decap CMS support 2026-01-02 16:45:56 +00:00
George Cushen 04a4a10b41 chore: update block metadata 2025-12-31 01:18:09 +00:00
George Cushen fd22be65dd i18n(contact): move hardcoded contact block strings to language packs 2025-12-31 01:18:09 +00:00
George Cushen d95cd5fac8 fix(search): filters + metadata across collection layouts
Fixes https://github.com/HugoBlox/hugo-blox-builder/discussions/3292
2025-12-31 01:18:09 +00:00
George Cushen c48b65edb2 feat: safely parse image front matter structure 2025-12-29 00:02:24 +00:00
George Cushen e97ec701f5 feat: add safe defaults for locales 2025-12-20 02:34:36 +00:00
George Cushen 58718ebaec fix: BreadcrumbList structured data to comply with Google Search Console requirements
Add missing @type "ListItem" to breadcrumb items and restructure item field
from URL string to object with @id and name properties. Resolves "Invalid
object type for field 'itemListElement'" errors reported in Google Search Console.

See https://discord.com/channels/722225264733716590/1451194469637427272
2025-12-18 23:03:51 +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 c72b26de8d feat: allow same origin iframes to support slides 2025-12-15 00:13:47 +00:00
George Cushen d15979197a feat: allow to hide slides like in Powerpoint
use `<!-- hide -->` in the slide contents.
2025-12-14 23:55:50 +00:00
George Cushen 73b5f7d575 feat: add dedicated Event layout with built-in Slides 2025-12-14 03:28:29 +00:00
George Cushen 6acb9cb914 tpl: reduce default name txt size
For longer names
2025-12-11 01:41:13 +00:00
George Cushen e46bd3a37a fix: avatar size overrided
Also, updated workspace config in hugo-blox-builder.code-workspace:

Removed disused plugins
Map all HTML/HTM under modules, templates, and test to the hugo language for proper templating support.
Enable Tailwind IntelliSense within Hugo files and Alpine class bindings via tailwindCSS.includeLanguages and tailwindCSS.experimental.classRegex.
Re-enable HTML formatting for non-Hugo files using Prettier while keeping Hugo formatting off.
Recommend the Tailwind CSS VS Code extension alongside existing recommendations.
2025-12-11 00:59:52 +00:00
George Cushen b7a66310d7 feat: disable debug HUD by default
Enable with

site.Params.hugoblox.debug.enable = true
2025-12-10 01:36:37 +00:00
George Cushen abfdad1620 feat: remove abandonware (Commento)
Recommend Giscus
2025-12-07 07:12:42 +00:00
George Cushen f0eb4a7e9c feat: standardize author profiles & add devcontainer 2025-12-07 01:50:48 +00:00
George Cushen 301b29448a fix: lint 2025-12-03 21:01:08 +00:00
George Cushen e0a99de6da fix: theming
Unified terminology - All 11 theme packs now use surfaces: instead of ui (see prev commit)
Fixed empty value overrides - Empty strings ("") no longer override theme colors
Proper checking - Only non-empty values are applied
2025-12-01 05:40:50 +00:00
George Cushen 51927bf59f fix: align with schema v2 2025-12-01 05:12:06 +00:00
George Cushen 5d94827fb6 fix: align with schema v2 2025-12-01 05:12:06 +00:00
George Cushen 42824bfc8e feat(blox-tailwind): update deps 2025-12-01 03:15:47 +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 c8f2322fa6 feat: port page cover system
Just upload a cover image, `cover.*` to your blog post's folder
2025-11-30 06:55:28 +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
Steve Jobz 613af2b8d9 fix(css): CSS class for hb-card-title to remove redundant items-start (#3287)
We only need items-center to ensure that icons align to the same line as text.
2025-11-28 20:54:03 +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 1bff23752e feat: add breadcrumb structured data via BreadcrumbList JSON-LD for non-home pages 2025-11-23 02:44:54 +00:00
George Cushen 575f85fdde feat: allow hud to be re-positioned 2025-11-20 22:30:41 +00:00
George Cushen 89ab4d1a34 fix: search not working when site deployed to sub-folder 2025-11-15 16:18:46 +00:00
George Cushen 765ecf7da2 feat: update partials path for recent Hugo breaking changes
Completes previous commit 9fce47f
2025-11-12 19:48:04 +00:00
Geo 9fce47f11e feat: update partials path for recent Hugo breaking changes 2025-11-12 19:37:39 +00:00
github-actions[bot] c8cae88f17 chore(blox-tailwind): prepare v0.10.0 2025-11-08 00:16:06 +00:00
George Cushen b765ba20e1 refactor: fix new Biome lint errors/warnings 2025-11-06 21:17:51 +00:00
George Cushen 8a7ce247da ci: add --no-frozen-lockfile 2025-10-25 14:51:41 +01:00
George Cushen 323f1122b7 feat: improve card view footer
Moves read more link to new link to prevent squash when long (author etc) metadata in footer.
2025-10-24 23:39:42 +01:00
George Cushen 482b7a8205 feat: add 'emoji' icon pack support
Use like `icon: emoji/wave`
2025-10-24 23:38:29 +01:00
George Cushen 0f474b371f feat: show author name rather than username in terms/taxonomy layout 2025-10-24 23:37:45 +01:00
George Cushen c34ccd27b0 feat: add new blocks
For contact-info, logos, research-areas, team-showcase

Update:
- hero block: to prevent wide sub-title text on large screen
- stats block: re-designed stats block with new styles
2025-10-24 23:37:08 +01:00
George Cushen 5f2290d590 starters: standardise starters dir name to templates 2025-10-23 23:43:50 +01:00
George Cushen 20a6f8202e fix: linting 2025-10-23 21:28:34 +01:00
George Cushen 692dc8c62e feat: re-designed search UI and new FAQ and Q&A blocks
- Add search-hero block with ==highlight== syntax and gradient mesh backgrounds
- Add knowledge-categories block with dynamic Hugo taxonomy counts
- Add trending-questions block with content-driven trending system
- Add FAQ/questions layouts with Alpine.js accordions and search integration
- Redesign search modal using Pagefind headless API to create custom UI design
- Add gradient mesh background system (orbs, waves, dots, grid) to framework
- Add i18n support for new blocks
- Fix video backgrounds regression in parse_block_v3.html
- Add QAPage/FAQPage structured data for SEO optimization
2025-10-23 21:07:30 +01:00
github-actions[bot] d9f1a8428c chore(blox-tailwind): prepare v0.9.0 2025-10-23 19:12:07 +00:00
GeoandCopilot Autofix powered by AI 2e6abec624 fix: for code scanning alert no. 10: Double escaping or unescaping (#3283)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-21 22:38:55 +01:00
Olaf Lipinski 8b7392b56d feat: add support for displaying organization logos (#3282)
Add `icon` option to `organizations` and `education` data structures in author profiles.

Use the standard icon feature to apply a custom brand icon e.g. `icon: 'brands/my_company' and place `my_company.svg` in your `assets/media/icons/brands/` folder.

Co-authored-by: Olaf Lipinski <5785856+olipinski@users.noreply.github.com>

Closes #3281
2025-10-21 22:20:10 +01:00
Olaf Lipinski cdee5c8997 fix: regression with custom icon rendering (#3279)
During previous refactoring, the {{with}} was refactored to {{if}} leading to missing icon resource context, and hence custom icons were no longer rendering.

Fixes #3278
2025-10-21 21:24:13 +01:00
syrinecheriaaandsyrine cheriaa 7f5478f705 i18n: add Haitien kreyol (ht) language (#3277)
Co-authored-by: syrine cheriaa <syrine@MacBook-Pro-de-syrine.local>
2025-10-21 19:48:35 +01:00
George Cushen dd44522f1e fix(css): align color variables with Tailwind v4
- Replace rgb(var(--color-*))) with var(--color-*)
- Convert alpha forms to color-mix(in oklch, var(--color-*) X%, transparent)
- Normalize --color-hb-dark to rgb(...)
- Fix docs code block background in light mode

Closes #3272
2025-10-07 01:11:46 +01:00
Steve Jobz bc5bf3c748 fix(commenting): incorrect path to comments plugin (#3271) 2025-10-06 23:57:36 +01:00
George Cushen e9b31f8090 refactor(preact): switch from vendored globals to bundled node_modules approach
- Add preact dependency to all 6 starter package.json files for proper js.Build resolution
- Use automatic JSX runtime (JSX: "automatic", JSXImportSource: "preact") in libraries.html
- Restore proper ES module imports in hero/client.jsx and Icon.jsx components
- Remove vendored preact script loading since preact is now bundled via js.Build
- Fixes CI build failures with "Could not resolve preact/jsx-runtime" errors
- Provides cleaner, more standard JS tooling for users extending with custom components

BREAKING CHANGE: Starters now require `preact` in `package.json`to resolve preact dependency before hugo build
2025-09-25 21:51:54 +01:00