83 Commits
Author SHA1 Message Date
github-actions[bot] 68cbf33530 chore(templates): update modules to latest commits 2026-05-27 02:54:14 +00:00
github-actions[bot] a93892fc61 chore(templates): update modules to latest commits 2026-05-27 02:39:19 +00:00
George Cushen f107371dc2 fix(tpl): hugo v0.161+ pnpm support 2026-05-04 07:58:10 +01:00
George Cushen 1cf3eacddb ci: update node/actions due to GH node v20 deprecation
Still on node20 - blocked on upstream releases:

peaceiris/actions-hugo@v3 - the maintainer merged a node24 upgrade to main but hasn't cut a new release tag yet; nothing to do until v3.1.0 drops
HugoBlox/gh-action-updater@v2 - needs update
2026-05-02 22:09:13 +01:00
George Cushen 5767dde5e9 fix: hugo v0.161 insufficient tailwind security perms 2026-05-02 21:58:20 +01:00
github-actions[bot] 3702dd316c chore(templates): update modules to latest commits 2026-05-02 20:35:03 +00:00
George Cushen b564ceaffa chore: apply biome formatter to source files 2026-05-02 17:06:08 +01:00
George Cushen 237a7e2d59 fix(templates): use hoisted node-linker so Hugo v0.161 can resolve tailwindcss
Hugo v0.161's css.TailwindCSS reads node_modules/.bin/tailwindcss and
expects either a symlink or a Node-shebang script. pnpm's default
isolated linker creates shell wrappers (#!/bin/sh with NODE_PATH
manipulation), which Hugo rejects with "binary tailwindcss is not a
Node.js script". With node-linker=hoisted, pnpm flattens node_modules
and creates plain symlinks for Node-shebang bins — same shape npm
produces, which Hugo handles via its symlink branch in resolveNodeBin
(common/hexec/exec.go).

- Add .npmrc with node-linker=hoisted to all 9 templates and test/
- Verified end-to-end: academic-cv builds cleanly against published
  modules/blox with Hugo v0.161.1
- Kit root and modules/blox keep pnpm's isolated linker for monorepo
2026-05-02 03:29:43 +01:00
George Cushen 8fb7186068 fix(templates): make shipped build.yml compatible with Hugo v0.161
The shipped per-template GitHub Actions build workflow still pinned
Node 20 and fell back to Hugo 0.154.5 on missing config - both
incompatible with Hugo v0.161's css.TailwindCSS Node permission sandbox
(Node >= 22, npm @tailwindcss/cli required). Sites upgraded via
`hugoblox upgrade` (which only touches go.mod) hit this immediately.

- Bump NODE_VERSION 20 -> 22 in all 9 templates' .github/workflows/build.yml
- Bump fallback DEFAULT_VERSION 0.154.5 -> 0.161.0 to match the framework's
  new module.hugoVersion.min
- Add a "Verify Tailwind CSS dependency" step that fails fast with an
  actionable ::error message if @tailwindcss/cli is not resolvable,
  replacing Hugo's cryptic "binary tailwindcss is not a Node.js script"
2026-05-02 03:08:09 +01:00
github-actions[bot] 4fd86541d0 chore(templates): update modules to latest commits 2026-04-30 21:03:18 +00:00
George Cushen 6aa2898258 chore(deps): upgrade to Hugo v0.161.0 (css.TailwindCSS Node.js sandbox)
Hugo v0.161 dropped the standalone tailwindcss binary; @tailwindcss/cli
npm package is now the only accepted transformer, invoked via
`node --permission` (Node >= 22 required).

- Bump module.hugoVersion.min to 0.161.0 in modules/blox/hugo.yaml;
  add comment explaining why security.node.permissions is left to
  Hugo's built-in defaults
- Bump hugo_version / HUGO_VERSION / devcontainer image tag to 0.161.0
  across all 9 templates (hugoblox.yaml, netlify.toml, devcontainer.json)
- Bump devcontainer base image Node 20 → 22 and default Hugo version
- Add scripts/check-template-deps.mjs to assert every template declares
  tailwindcss + @tailwindcss/cli; wire as pnpm check:template-deps
- Harden CI: new audit-template-deps job gates all build jobs; add
  `require.resolve('@tailwindcss/cli/package.json')` check after each
  pnpm install to catch the exact "binary is not a Node.js script" failure
2026-04-30 20:12:37 +01:00
George Cushen a034cf7dbe docs: edit 2026-04-29 10:29:48 +01:00
George Cushen 752539141a docs: edit 2026-04-22 23:53:37 +01:00
George Cushen ca9888609e fix(sections): update stale singular section path references to plural
- Fix build_links.html project/ → projects/ GetPage lookup (breaking bug)
- Fix collection block.html event/publication → events/publications type checks
- Update academic-cv publication archetypes, import workflow (publication/ → publications/)
- Update data-science-blog import workflow, notebook, author RSS URL (post/ → blog/)
- Update documentation and startup-landing-page author RSS URLs (post/ → blog/)
2026-04-16 02:16:23 +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
github-actions[bot] 117881f658 chore(templates): bump modules and Hugo 2026-04-02 21:02:26 +00:00
George Cushen e8fcdf2e86 ci: format 2026-04-02 21:26:33 +01:00
George Cushen f53402d057 chore: update workspace 2026-04-02 20:21:07 +01:00
George Cushen 6a2f1ba2ae fix(tpl): resolve broken assets on GitHub Pages subdirectory deployments
Add `actions/configure-pages` step to all template build workflows and
pass the detected base_url to `hugo --baseURL`, so sites deployed to
subdirectory paths (e.g. user.github.io/repo-name/) generate correct
asset URLs. Also fix leading-slash relURL calls in slides layout that
would ignore the baseURL path component.
2026-03-30 19:27:42 +01:00
George Cushen 26e1f775a2 chore(ci): bump GitHub Actions to Node.js 24-compatible versions
Bumps actions across all template and repo workflows to avoid the
Node.js 20 deprecation (enforced June 2026):
- actions/checkout v3/v4 → v6
- actions/cache v4 → v5
- actions/setup-go v5 → v6
- actions/setup-python v4/v5 → v6
- peter-evans/create-pull-request v5/v6 → v7
2026-03-30 19:20:15 +01:00
George Cushen 27313292ed chore(tpl): fix hugo version detection 2026-03-30 18:52:22 +01:00
github-actions[bot] f54d1c825e chore(templates): update modules to latest commits 2026-03-27 04:45:11 +00: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 7bc44d0a31 ci: format 2026-03-03 00:31:09 +00:00
George Cushen 24dc36f6d7 feat(typography): extend typography system with Google Fonts and font packs 2026-03-03 00:30:27 +00:00
github-actions[bot] 4fcfe33cc0 chore(templates): update modules to latest commits 2026-02-19 15:29:19 +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 a3c21b401e fix: lint 2026-02-19 14:15:26 +00:00
George Cushen 214e40464e chore: edit socials 2026-02-15 20:54:34 +00:00
George Cushen 3fd11f9853 chore: edit ext ID 2026-02-15 20:51:54 +00:00
George Cushen a139f74289 refactor(workflows): replace grep/awk with yq for robust YAML parsing
Pin yq v4.44.1 in all template workflows with retry logic,
error handling, and input validation.
2026-01-26 01:30:00 +00:00
github-actions[bot] a17fc859f9 chore(templates): update modules to latest commits 2026-01-24 04:21:22 +00:00
George Cushen 34959c03b1 tpl(ci): modernize CI/CD workflows
- Refactor build into reusable workflow (DRY)
- Add deploy.host config to control deployment target
- Upgrade to latest action versions (Node 22, Go 1.23, Python 3.13)
- Add timeout-minutes and concurrency groups for safety
- Use github.run_id for unique PR branch names
- Fix package_json_path for standalone repo compatibility
- Scope GITHUB_TOKEN to specific steps for security
2026-01-24 03:05:12 +00:00
George Cushen 14a6fcf7ff docs: edit 2026-01-17 19:43:45 +00:00
github-actions[bot] ab756b996a chore(templates): update modules to latest commits 2026-01-15 00:45:59 +00:00
github-actions[bot] f18a5bbf1d chore(templates): update modules to latest commits 2026-01-14 13:29:50 +00:00
George Cushen 3c4fb879d1 fix: restore sidebar visibility in docs layouts
Refactor the sidebar component logic to correctly handle the `no_sidebar` parameter.
Previously, `default true` treated an explicit `false` value as empty, causing the sidebar
to be hidden unintentionally. Replaced with an explicit inequality check.
2026-01-14 13:28:05 +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 dffe943e89 ci: edit 2026-01-10 00:36:15 +00:00
George Cushen dd143313a5 docs: update ext id 2026-01-09 19:06:36 +00:00
George Cushen b018a2d8ba tpl(ci): add GITHUB_TOKEN to avoid github rate limiting 2026-01-07 23:58:39 +00:00
George Cushen dd8be97667 ci: fix - switch from npx to pnpx 2026-01-07 21:41:57 +00:00
George Cushen 967404b3f0 feat: add hugoblox upgrade workflow 2026-01-07 17:22:16 +00:00
github-actions[bot] ee29f17d7b chore(templates): update modules to latest commits 2026-01-06 20:16:42 +00:00
George Cushen c792830419 chore: standardise tpl names 2026-01-06 00:51:20 +00:00
github-actions[bot] 5d574ec811 chore(templates): update modules to latest commits 2026-01-05 21:00:00 +00:00
George Cushen ad2af1f352 refactor: repo rename 2026-01-02 22:07:38 +00:00