Commit Graph
2031 Commits
Author SHA1 Message Date
George Cushen 575f85fdde feat: allow hud to be re-positioned 2025-11-20 22:30:41 +00:00
George Cushen eaa9bc1e29 docs: add cli to readme 2025-11-20 22:30:06 +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 ad296b39a1 docs: remove duplicated file 2025-11-15 15:41:21 +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] a4510e10b3 chore(templates): bump modules and Hugo 2025-11-08 00:16:07 +00:00
github-actions[bot] c8cae88f17 chore(blox-tailwind): prepare v0.10.0 2025-11-08 00:16:06 +00:00
George Cushen e16122351c chore: prevent VSCode formatting conflicts
Multiple blank lines were getting automatically added to end of some YAML files.
2025-11-08 00:07:30 +00:00
George Cushen e0e57f69d0 chore: add CLA for best practice 2025-11-08 00:02:05 +00:00
George Cushen b765ba20e1 refactor: fix new Biome lint errors/warnings 2025-11-06 21:17:51 +00:00
George Cushen c011688529 tpl: rename dir to support Hugo breaking change 2025-11-04 17:36:32 +00:00
George Cushen 6015c70b1e chore(lint): migrate CSS linting to Biome v2.3 (Tailwind v4) and remove stylelint
upgrade @biomejs/biome to ^2.3.2 and migrate biome.json to v2 schema
enable css.parser.tailwindDirectives; ignore .min.css and vendor CSS
remove stylelint deps and .stylelintrc.yaml; switch lint scripts to Biome
update workspace to use Biome for CSS; drop stylelint settings
2025-11-02 20:57:26 +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] 3eef2cba11 chore(starters): bump modules and Hugo 2025-10-23 19:12:09 +00:00
github-actions[bot] d9f1a8428c chore(blox-tailwind): prepare v0.9.0 2025-10-23 19:12:07 +00:00
George Cushen 38be016452 ci(build-starters-matrix): prevent spurious cancellations by scoping concurrency per workflow+PR and restricting PR event types 2025-10-21 22:45:53 +01: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
George Cushen ad44e76171 starters: move file 2025-10-21 21:20:40 +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
dependabot[bot] 27e6af57ce ci(deps): bump github/codeql-action from 3 to 4 (#3273)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-21 19:44:13 +01:00
dependabot[bot] d84278e60f ci(deps): bump actions/setup-node from 5 to 6 (#3280)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-21 19:43:27 +01:00
George Cushen 4211770c1c ci: fix regression from 74ed4ecc15 2025-10-07 01:39:11 +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
George Cushen 74ed4ecc15 refactor(ci): consolidate build workflows and add Hugo version guards
This commit overhauls the CI build process to improve robustness, prevent version drift, and provide better compatibility testing.

The `ci-build-test-site.yml` workflow has been removed and its responsibilities have been merged into the `ci-build-starters-matrix.yml` workflow. This consolidation provides a single source of truth for all build logic.

Three new jobs have been added to the matrix to act as version guards:

1.  **smoke-test-min:** Builds the `test/` site using the minimum Hugo version declared in the framework's `hugo.yaml`. This ensures we do not accidentally introduce features that break our minimum supported version.

2.  **smoke-test-latest:** Builds the `test/` site using the latest available Hugo version. This job is allowed to fail and acts as a canary to provide early warning of breaking changes in new Hugo releases.

3.  **canary-academic-latest:** Builds the `academic-cv` starter with the latest Hugo version. As one of our most popular starters, this provides a more realistic canary for issues that new users might encounter.
2025-10-07 00:29:09 +01:00
George Cushen f5452a5491 ci: fix Welcome action 2025-10-07 00:29:09 +01:00
Steve Jobz bc5bf3c748 fix(commenting): incorrect path to comments plugin (#3271) 2025-10-06 23:57:36 +01:00
dependabot[bot] aa95877e92 ci(deps): bump symplify/monorepo-split-github-action from 2.3.0 to 2.4.0 (#3269)
Bumps [symplify/monorepo-split-github-action](https://github.com/symplify/monorepo-split-github-action) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/symplify/monorepo-split-github-action/releases)
- [Commits](https://github.com/symplify/monorepo-split-github-action/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: symplify/monorepo-split-github-action
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-30 21:55:02 +01:00
George Cushen 1f5693fb66 ci: fetch actual starter hb version 2025-09-27 17:35:23 +01:00
github-actions[bot] 4379d9caa3 chore(starters): update modules to latest commits 2025-09-25 20:53:23 +00: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
George Cushen c843d01cf8 fix(ci): use classic JSX + global Preact to fix js.Build resolution
landing-page starter, which uses preact blocks, was only working only in monorepo due to Preact installed in root package.json but not starter package.json.

- Switch js.Build to classic JSX with global factory in `modules/blox-tailwind/layouts/_partials/libraries.html` (JSX=transform, JSXFactory=preact.h, JSXFragment=preact.Fragment)
- Update `modules/blox-tailwind/blox/hero/client.jsx` to call `preact.render` and remove `preact` import
- Remove `preact` import from `modules/blox-tailwind/blox/shared/js/components/Icon.jsx` (classic JSX uses global `preact.h`)
- Keep vendored `assets/dist/lib/preact/preact.min.js` and load it only when `needs_preact` is set
- Fixes CI error “Could not resolve preact/jsx-runtime” without requiring `preact` in each starter
2025-09-25 21:51:54 +01:00
github-actions[bot] 29375a9c39 chore(starters): update modules to latest commits 2025-09-25 01:01:04 +00:00
George Cushen 787ac94b5d feat: add Dev HUD & 15 Obsidian callouts; more collection filters
Dev tools
- Add HBX Dev HUD (floating button + panel) with live log viewer
- Add get-build-id helper to dedupe logs per build (during `hugo server` refreshes)

Callouts
- Implement Obsidian-compatible callouts (15+ types) with shared renderer
- Add i18n title translations (en, es, fr) for all callout types
- Deprecate `callout` shortcode with suppressible warning; keep working
- Migrate starters to Markdown callouts (>[!TYPE]) and update docs

Logging
- Centralize logging in partial `functions/logger` with info/warn/error levels
- Use fmt.Warnidf for suppressible warnings (consistent IDs)
- Only show info in Dev HUD/JSON (no longer use warnf for info logging); warn/error still printed in CLI
- Include source metadata and build ID on each entry

Blocks – Collection
- Add support for `content.filters.kinds`
- Add `content.filters.tags` (array) alongside existing `filters.tag` (string)

Build/Tailwind/JS
- Fix missing Tailwind v4 styles in Hugo render: include preact-built assets, extract classes from JSX/TSX to `@sources`
- Load Preact client per block, publish source maps in dev; on-demand Alpine

CI
- Re-implement fast fails with panicOnWarning now that info logging as warnf removed
- Fix package splitter change detection: strip trailing slashes; collapse paths to starter roots

Starters/Docs
- Restructure courses under `courses/hugo-blox/`
- Update menus and landing pages
- Replace deprecated callout usage in content and docs
- Replace missing hero icon `download` with `arrow-down-tray` in academic-cv guide

Icons
- Improve icon resolver: default pack inference, better fallback, and precise missing-icon warnings (with page ref)
2025-09-25 01:58:32 +01:00
George Cushen 96f96636fc ci: fix 2025-09-23 00:57:06 +01:00
George Cushen 7ae938d4c5 docs: update X link 2025-09-23 00:50:02 +01:00
github-actions[bot] 2f497b3a22 chore(starters): bump modules and Hugo 2025-09-22 23:35:26 +00:00
github-actions[bot] 6b1632ae78 chore(blox-tailwind): prepare v0.8.0 2025-09-22 23:35:25 +00:00
George Cushen 9146d36f1c ci: fix 2025-09-23 00:33:04 +01:00
George Cushen 171f8f4ade fix: logger 2025-09-23 00:28:52 +01:00
George Cushen 1412d517b6 feat: Add GitHub/Obsidian-style Markdown callout support
Implements Hugo's new blockquote render hooks (v0.132.0+) to support standard
Markdown alert syntax, improving content portability across platforms.

Features:
- 5 alert types: note, tip, important, warning, caution
- Custom titles with `> [!TYPE]+ Custom Title` syntax
- Multilingual support (EN, ES, FR, DE, ZH) with `callout_*` i18n keys
- Shared renderer for both shortcodes and render hooks
- Backward compatibility with deprecated `{{< callout >}}` shortcode

Example usage:
```markdown
> [!NOTE]
> This is a note callout with important information.

> [!WARNING]+ Custom Warning Title
> This warning has a custom title instead of just "Warning".

> [!TIP]
> Here's a helpful tip for better workflow!
```

Breaking changes: None (backward compatible)
Deprecation: `{{< callout >}}` shortcode now shows warning, use standard syntax

Configuration required (already applied to all sites by default):
```yaml
markup:
  goldmark:
    parser:
      attribute:
        block: true
```
2025-09-23 00:21:53 +01:00