Site parameters and page parameters of HB core module.
Become a backer or sponsor to support our work.
css_bundle_name
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
css_bundle_name | parasm.hb | string | - | hb | - | - |
The bundle name of CSS.
color
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
color | parasm.hb | string | - | light | - | - |
Default color.
Available options: light
, dark
.
debug
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
debug | parasm.hb | boolean | - | false | - | - |
Whether to enable debug mode.
js_bundle_name
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
js_bundle_name | parasm.hb | string | - | hb | - | - |
The bundle name of JS.
logo
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
logo | parasm.hb | string | - | images/logo.png | - | - |
The logo path relative to assets
folder.
full_width
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
full_width | parasm.hb | boolean /array | - | false | - | - |
Whether to take full width, a boolean value or array of first level sections, e.g. ["docs", "blog"]
.
full_width_types
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
full_width_types | parasm.hb | object | - | - | - | - |
The content types to take full width, used by modules.
sass_transpiler
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
sass_transpiler | parasm.hb | string | - | dartsass | - | - |
The Sass transpiler.
Available options: dartsass
, libsass
.
sass_silence_deprecations
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
sass_silence_deprecations | parasm.hb | array | - | - | - | - |
Used to silence deprecations, e.g. ["import"]
.
params.toml
1[hb]
2 color = 'light'
3 css_bundle_name = 'hb'
4 debug = false
5 full_width = false
6 js_bundle_name = 'hb'
7 logo = 'images/logo.png'
params.yaml
1hb:
2 color: light
3 css_bundle_name: hb
4 debug: false
5 full_width: false
6 js_bundle_name: hb
7 logo: images/logo.png
params.json
1{
2 "hb": {
3 "color": "light",
4 "css_bundle_name": "hb",
5 "debug": false,
6 "full_width": false,
7 "js_bundle_name": "hb",
8 "logo": "images/logo.png"
9 }
10}
full_width
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
full_width | params | boolean | - | false | - | - |
When true
then the current page takes full width, otherwise fallback to the site’s full_width
.
1+++
2[params]
3 full_width = false
4+++
1---
2params:
3 full_width: false
4---
1{
2 "params": {
3 "full_width": false
4 }
5}