feat: refactor block system

Refactored from legacy layouts/partials/blox/* system to:
     - blox/<block-id>/block.html source structure
     - Hugo module mounts to layouts/partials/hbx/blocks/<block-id>/block.html
     - Resolver-based lookup
     - Support for data-driven pages and client islands
This commit is contained in:
George Cushen committed 2025-08-30 14:43:37 +01:00
1 parent acb0eb7b8a
commit 93585c868d
69 files changed
+229 -122

No files matched your search

+7
View File
@@ -10,8 +10,15 @@ cleanup() {
trap cleanup EXIT INT TERM
usage() {
echo "View a starter template with local development modules and debug features."
echo ""
echo "Usage: ./scripts/view-starter-dev.sh <starter-name> [--debug] [--no-pagefind]"
echo "Example: ./scripts/view-starter-dev.sh blog --debug"
echo ""
echo "This script uses:"
echo " • Local development modules (via HUGO_MODULE_REPLACEMENTS)"
echo " • Development environment with demo/debug flags enabled"
echo " • Optional Pagefind search indexing and enhanced debugging"
}
if [ $# -lt 1 ]; then