-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
102 lines (84 loc) · 2.76 KB
/
config.toml
File metadata and controls
102 lines (84 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Module configuration for mod-blocks
# Provides Bookshop components for visual page building
[module]
[module.hugoVersion]
extended = true
min = "0.147.6"
# Expose bookshop partials to Hugo
[[module.mounts]]
source = "component-library"
target = "layouts/partials/bookshop"
includeFiles = [
"**/*.hugo.html",
"**/*.hugo.md",
]
# Expose bookshop config for Bookshop integrations using cloudcannon-hugo
[[module.mounts]]
source = "component-library"
target = "assets/bookshop"
# Expose bookshop specifications as Hinode data structure
[[module.mounts]]
source = "component-library"
target = "data/structures"
includeFiles = ["**/*.bookshop.yml", "**/*.yml"]
# Expose bookshop specifications with module namespace for llms-components
[[module.mounts]]
source = "component-library"
target = "data/structures/blocks"
includeFiles = ["**/*.bookshop.yml", "**/*.yml"]
# Integrate main bookshop style with Hinode styles pipeline
[[module.mounts]]
source = "component-library/bookshop.scss"
target = "assets/scss/bookshop.scss"
# Integrate bookshop component styles with Hinode styles pipeline
[[module.mounts]]
source = "component-library"
target = "assets/scss/modules/bookshop"
includeFiles = ["**/*.scss"]
excludeFiles = ["bookshop.scss"]
# Expose block-specific structure files
[[module.mounts]]
source = "assets"
target = "assets"
# Expose block-specific structure files
[[module.mounts]]
source = "data"
target = "data"
# Expose block-specific partials
[[module.mounts]]
source = "layouts"
target = "layouts"
# Import Bookshop Hugo module for core functionality
[[module.imports]]
path = "github.com/cloudcannon/bookshop/hugo/v3"
# Import common Hinode utitilies
[[module.imports]]
path = "github.com/gethinode/mod-utils/v5"
# Icon defaults for mod-blocks components
[params.icons]
# Testimonial carousel controls
carouselPrev = "fas chevron-left"
carouselNext = "fas chevron-right"
# CTA and contact action links
ctaAction = "fas chevron-right"
# Preview component device tabs and error state
previewDesktop = "fas fa-desktop"
previewTablet = "fas fa-tablet-alt"
previewMobile = "fas fa-mobile-alt"
previewError = "fas fa-exclamation-triangle"
# Bookshop module configuration
# These defaults are used by mod-blocks components
[params.modules.bookshop]
integration = "core"
[params.modules.bookshop.hero]
align = "start"
overlayMode = "dark"
section = true
default = ["section"]
[params.modules.bookshop.articles]
moreButton = true
[params.modules.bookshop.title]
arrangement = "above"
# Preview module configuration
[params.modules.preview]
integration = "optional"