Commit Graph
2150 Commits
Author SHA1 Message Date
George Cushen aa9edea5df feat(slides): add persistent branding with per-slide visibility control
- Add branding overlays: logo, title, author, and footer text
- Use Reveal.js theme CSS variables for automatic color adaptation
- Inline SVGs for currentColor support on any theme
- Per-slide control via HTML comments:
  - <!-- no-branding -->: hide all elements
  - <!-- no-header -->: hide logo + title
  - <!-- no-footer -->: hide author + footer
- Fix body-level CSS selectors for proper visibility
- Add comprehensive documentation in example slides
2026-01-13 15:36:32 +00:00
George Cushen 1352d89867 docs: edit 2026-01-10 23:58:12 +00:00
George Cushen 96aa04356e fix: respect new event start/end fields when filtering past/future in collection block 2026-01-10 18:45:01 +00:00
George Cushen d7ada2b73f docs: edit 2026-01-10 15:53:35 +00:00
George Cushen 2754d1590f fix(blox): resolve template syntax errors in cta-image-paragraph
- Fix malformed if/else block causing "undefined variable $title"
- Add missing closing div tags to correct HTML generation
- Remove orphaned {{ end }} tag preventing proper parsing
2026-01-10 03:53:05 +00:00
George Cushen af716f0c18 fix(blox): solve variable scoping regression in cta-image-paragraph
- Lift $image_path variable declaration in cta-image-paragraph to fix scope error
- Remove unused $banner_path variable in resume-biography
2026-01-10 03:43:34 +00:00
George Cushen 3323f61390 fix(blox): unify image path resolution logic across blocks
- Update 'resume-biography', 'research-areas', 'logos', and 'cta-image-paragraph' blocks
- Add support for remote images (http/https) via resources.GetRemote
- Add support for Page Resources (bundles) via .Resources.GetMatch
- Normalize paths to handle 'assets/', 'media/', './' prefixes consistently
- Maintain backward compatibility with global assets and static URLs
2026-01-10 02:02:42 +00:00
George Cushen f500a081dd fix(testimonials): enhance avatar image resolution logic
- Support image resolution from Page Bundles, Remote URLs, and Global Assets
- Normalize paths to correctly handle 'assets/', 'media/', and './' prefixes
- Add fallback to static URLs if resource processing fails
- Fixes issue where avatar images failed to load in certain templates
2026-01-10 00:55:52 +00:00
George Cushen f612eb1dee chore: format 2026-01-10 00:37:41 +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 b374e3d1d9 fix: portfolio filter limits, View All logic, and status badge configuration 2026-01-09 19:00:56 +00:00
George Cushen 2c2d7cd403 fix(team-showcase): align headers, square avatars, respect sort order 2026-01-09 01:04:21 +00:00
George Cushen d1d1c8a77d fix(portfolio): respect per-filter count while keeping filters populated 2026-01-09 01:02:59 +00:00
Geo 1096b7494e docs: edit 2026-01-08 01:36:11 +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 b252f10dee fix(team-showcase): honor sort direction and improve portrait layout 2026-01-07 23:29:59 +00:00
George Cushen ac0f161733 fix(portfolio): prevent pre-filter slicing and clarify count usage 2026-01-07 23:06:05 +00:00
George Cushen dd8be97667 ci: fix - switch from npx to pnpx 2026-01-07 21:41:57 +00:00
George Cushen ae338f0ba0 feat(authors): preserve entered casing and links for author names
- keep raw front-matter author strings as preferred display when no profile exists
- fall back to title-cased humanized slug only as last resort to avoid lowercase initials
- render authors directly from Params order and resolve links via taxonomy pages when present

Fix https://discord.com/channels/722225264733716590/1457522006462435541/1458539152160067784
2026-01-07 20:21:14 +00:00
George Cushen 62b8f3f8f6 feat: schema optimization
Reviewed all 27 block schemas in modules/blox/blox against their block.html implementations and applied best-practice optimizations. Here's what was updated:

Schemas Updated with New Properties

Schema	Changes
cta-button-list	Added label, name, link aliases; added new_tab boolean; changed required to anyOf for flexibility
dev-hero	Added content as required; added design.animations boolean
faq	Added title/text aliases for items; added padding_sm and defaults to spacing arrays
knowledge-categories	Added link field per category item; added minimum: 0 for count
portfolio	Added design.animations boolean; added sort_by enum
tech-stack	Added design.animations boolean

Schemas Updated with Improved Descriptions & Enums

Schema	Improvements
collection	Added sort_by enum; improved view description; changed columns to integer with min/max constraints
resume-experience	Added $comment documenting author profile fields (button, tags, etc.)
resume-skills	Added $comment documenting skill group structure
resume-awards	Added $comment documenting award item fields
resume-languages	Added $comment documenting language level conversions
resume-biography	Enhanced avatar size description with pixel values
resume-biography-3	Enhanced avatar/name size descriptions
stats	Improved statistic description with formatting examples
hero	Clarified no_padding description with Tailwind classes
logos	Enhanced display_mode description with layout behaviors
research-areas	Enhanced layout description with style explanations
team-showcase	Added sort_by enum with common values
search-hero	Added examples array for suggestions
testimonials	Added image processing note and examples
cta-image-paragraph	Added responsive image processing note
features	Enhanced icon description with pack formats and examples

Schemas Already Well-Aligned
These schemas were already in good shape and required no changes:
contact-info, cta-card, hero, markdown, stats, testimonials, trending-questions

Notes

New alias fields (label/name/link in buttons, title/text in FAQ items) provide backward compatibility with alternate naming conventions used in templates
The $comment fields document author profile data structures that aren't directly in the schema but are consumed by resume blocks
2026-01-07 19:58:32 +00:00
George Cushen 09eb7f7b18 feat: harden block inputs (batch 2)
Finished hardening the remaining blocks by guarding content/design maps, normalizing list inputs, coercing numeric/boolean values, and sanitizing links; also tightened scroll target handling in block.html.

Changes

Normalized portfolio tags/tech stacks/links, made archive defaults safe, and ensured filter JS uses JSON-safe tags in block.html.

Validated research area layouts and item fields, added safe media/link handling, and made CTA rendering resilient in block.html.

Hardened resume blocks for profile fields, buttons/links, and dates using try with time in block.html, block.html, and block.html.
Improved numeric parsing and labeling for language/skill meters in block.html and block.html.

Added guarded items and predictable grid classes in block.html.

Sanitized badge/title/suggestions/stats rendering in block.html, normalized tech categories and made list style exclusive in block.html, and hardened testimonials’ items/image handling in block.html.

Normalized dynamic/static question data, badges, and safe links in block.html.
2026-01-07 19:18:50 +00:00
George Cushen 98f0d201c1 feat: harden block inputs (batch 1)
Hardened 1st batch of five homepage blocks by normalizing config types, clamping unsafe values, and guarding bad inputs so user‑supplied params fail safe without template errors.

Changes

coerce_bool.html and coerce_int.html: added shared coercion helpers for consistent, safe defaults across blocks.

block.html: sanitized content/design inputs, robust user_groups parsing, safer role/affiliation/interest/link handling, and CTA URL validation.

block.html: guarded avatar/banner/name/headings/bio, safe
button/link resolution, and resilient parsing for affiliations, education, interests, and social links.

block.html: hardened filters (kinds/folders/tags), safer sort/order handling, clamped numeric params, and archive link safety/fallbacks.

block.html and block.html: defensive content rendering, clamped overlay opacity, and safe button link handling.

schema.json, schema.json, schema.json: added view enum entries, added new_tab, and Biome formatting applied.
2026-01-07 18:23:51 +00:00
George Cushen 3651909ac2 fix: team-showcase block enhancements 2026-01-07 17:53:09 +00:00
George Cushen b199122d65 style: improve spacing between groups 2026-01-07 17:33:36 +00:00
George Cushen 967404b3f0 feat: add hugoblox upgrade workflow 2026-01-07 17:22:16 +00:00
George Cushen 8ca8e40a8f feat(team-showcase): polish sorting, layout, and docs for labs/startups
- default to last-name sort with numeric-friendly keys for weight/graduation_year
- support per-group sorting, optional empty-state, and role fallback to affiliation
- add grid/interest caps, alignment controls, and avatar initial placeholders
- expose graduation_year/weight/name_family_pref in profiles; update schema/README
2026-01-07 16:04:26 +00:00
George Cushen 4a758fb82e ci: fix 2026-01-07 15:48:52 +00:00
George Cushen d466212f43 ci: fix 2026-01-06 20:46:01 +00:00
George Cushen 7f163e3e31 ci: fix 2026-01-06 20:41:58 +00:00
github-actions[bot] ee29f17d7b chore(templates): update modules to latest commits 2026-01-06 20:16:42 +00:00
George Cushen e19b52a216 ci: add markdown-slides 2026-01-06 20:15:31 +00:00
George Cushen 85307a8097 feat(authors): preserve author casing when profiles are missing
- retain raw front-matter author strings as display names when no profile data is present
- title-case humanized slug only as last-resort fallback to avoid lowercase surnames
- reduce need for author profile files while keeping names correctly capitalized

Fixes https://discord.com/channels/722225264733716590/1457522006462435541
2026-01-06 20:13:34 +00:00
George Cushen bfdcb6603c feat: port Markdown Slides template from Wowchemy/Bootstrap 2026-01-06 20:12:26 +00:00
George Cushen c792830419 chore: standardise tpl names 2026-01-06 00:51:20 +00:00
George Cushen 061e3201df ci: fix 2026-01-05 21:38:04 +00:00
George Cushen 3cea03de36 ci: fix 2026-01-05 21:12:09 +00:00
github-actions[bot] 5d574ec811 chore(templates): update modules to latest commits 2026-01-05 21:00:00 +00:00
Geo 7b6ff3e60a docs: edit 2026-01-05 20:59:00 +00:00
Geo ba4f2c4e59 docs: edit
Removed the link from the preview button and added social media badges.
2026-01-05 20:55:04 +00:00
Geo 48f50eab29 docs: edit
Updated the preview link in README.md to point to a new URL.
2026-01-05 20:54:23 +00:00
George Cushen a76bb96a0c ci: update actions to inc new tpl 2026-01-05 20:48:17 +00:00
George Cushen 3526fb1ca1 feat: add dev portfolio template and add dev-hero, portfolio, tech-stack blocks
Also, fix card view to use theme colors rather than hard-coded colors
2026-01-05 20:38:38 +00:00
George Cushen 30dd554e8d docs: modules 2026-01-02 22:19:16 +00:00
George Cushen ad2af1f352 refactor: repo rename 2026-01-02 22:07:38 +00:00
George Cushen 93d45a6e89 build: standardise go v 2026-01-02 22:01:47 +00:00
George Cushen 13cd3e0682 tpl: add arg for netlify's implicit npm install 2026-01-02 21:58:38 +00:00
George Cushen a994c35264 tpl: fix netlify pagefind args 2026-01-02 21:31:29 +00:00
github-actions[bot] 1313d8dc8b chore(templates): update modules to latest commits 2026-01-02 21:19:50 +00:00
George Cushen cdaf97afb2 chore: bump v 2026-01-02 21:18:10 +00:00