mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 00:16:31 +00:00
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:
1 parent
acb0eb7b8a
commit
93585c868d
69 files changed
+229
-122
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user