Skip to content

Commit 549b95d

Browse files
authored
Merge pull request #1759 from gethinode/templatev2
Templatev2
2 parents 8c1e159 + a233f31 commit 549b95d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+334
-2177
lines changed

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ Module configuration is in `config/_default/hugo.toml` under `[module.imports]`.
8484
- `assets/section-title.html` - Section heading utility (used by Hinode pages and mod-blocks components)
8585
- All `mod-utils` utilities (GetPadding, GetBreakpoint, LogWarn, InitArgs, etc.)
8686

87-
**mod-blocks owns (block-specific partials - moved in v2):**
87+
**mod-blocks owns (block-specific partials):**
8888

89-
- `assets/hero.html`, `assets/contact.html`, `assets/faq.html`, `assets/testimonial-carousel.html`, `assets/menu.html`
90-
- `utilities/section.html` - Wraps all block components
89+
- `assets/hero.html`, `assets/contact.html`, `assets/faq.html`, `assets/menu.html`, `assets/testimonial-carousel.html`, `assets/preview.html`
90+
- `utilities/section.html` - Component wrapper
9191
- `page/contact.html` - Contact page template
9292

9393
**Dependency flow:**

config/_default/hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
149149
[[module.imports]]
150150
path = "github.com/gethinode/mod-flexsearch/v3"
151151
[[module.imports]]
152-
path = "github.com/gethinode/mod-fontawesome/v3"
152+
path = "github.com/gethinode/mod-fontawesome/v4"
153153
[[module.imports]]
154154
path = "github.com/gethinode/mod-google-analytics/v2"
155155
[[module.imports]]

config/_default/params.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,18 +278,3 @@
278278
frame-src = ["player.vimeo.com"]
279279
img-src = ["i.vimeocdn.com"]
280280
script-src = ["player.vimeo.com"]
281-
282-
# define module integration
283-
[modules.bookshop]
284-
integration = "core"
285-
286-
# provide default hero settings
287-
[modules.bookshop.hero]
288-
align = "start"
289-
overlayMode = "dark"
290-
section = true
291-
default = ["section"]
292-
# default = ["page", "home", "section"]
293-
294-
[modules.bookshop.articles]
295-
moreButton = true

data/structures/contact.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

data/structures/faq.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

data/structures/featured-illustration.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ comment: Defines a featured illustration with optional icon or image.
22
arguments:
33
page:
44
icon:
5-
scale:
65
image:
76
mode:
87
ratio:

data/structures/hero.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

data/structures/menu.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

data/structures/navbar-item.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ arguments:
1717
tab:
1818
plain:
1919
breakpoint:
20+
default: md
2021
release: v1.2.0
2122
modal:
2223
release: v1.2.0

data/structures/navbar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ arguments:
1919
menu:
2020
release: v2.0.0
2121
breakpoint:
22+
default: md
2223
release: v1.0.0
2324
style:
2425
type: select

0 commit comments

Comments
 (0)