You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/latest/advanced-settings/partial-development.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,16 +142,16 @@ Arguments support the following elements:
142
142
143
143
The following primitive types are supported.
144
144
145
-
| Primitive | Description |
146
-
|-----------|-------------|
147
-
| bool | Boolean, either `true` or `false`. The validation supports both quoted and unquoted values. Maps to the Hugo type `bool`. |
148
-
| dict | A map of key-value pairs, see [collections.Dictionary](https://gohugo.io/functions/collections/dictionary/). Consider using a defined complex type instead. |
149
-
| int, int64 | A whole number, including negative values. Optionally, specify the allowed value range using `options.min` and `options.max`. Maps to the Hugo type `int`. |
150
-
| float, float64 | A fractional number, including negative values. Optionally, specify the allowed value range using `options.min` and `options.max`. Maps to the Hugo type `float64`. |
151
-
| path | Path to a local file or directory. By convention, paths that start with `/` are relative to the repository root. When used as source argument, the base directory may be mapped to one of Hugo's mount folders (e.g. `assets`, `data`, `content`, `static`). Windows paths are mapped to Unix-style paths using forward slashes. Maps to the Hugo type `string`. |
152
-
| select | A single string value from a set of options. Specify the allowed values in `options.values`. Maps to the Hugo type `string`. |
153
-
| slice | An ordered list of values, see [collections.Dictionary](https://gohugo.io/functions/collections/slice/). Consider using a defined complex type instead. |
154
-
| string | Free format plain text. Maps to the Hugo type `string`. |
| bool | Boolean, either `true` or `false`. The validation supports both quoted and unquoted values. Maps to the Hugo type `bool`. |
148
+
| dict | A map of key-value pairs, see [collections.Dictionary](https://gohugo.io/functions/collections/dictionary/). Consider using a defined complex type instead. |
149
+
| int, int64 | A whole number, including negative values. Optionally, specify the allowed value range using `options.min` and `options.max`. Maps to the Hugo type `int`. |
150
+
| float, float64 | A fractional number, including negative values. Optionally, specify the allowed value range using `options.min` and `options.max`. Maps to the Hugo type `float64`. |
151
+
| path | Path to a local file or directory. By convention, paths that start with `/` are relative to the repository root. When used as source argument, the base directory may be mapped to one of Hugo's mount folders (e.g. `assets`, `data`, `content`, `static`). Windows paths are mapped to Unix-style paths using forward slashes. Maps to the Hugo type `string`. |
152
+
| select | A single string value from a set of options. Specify the allowed values in `options.values`. Maps to the Hugo type `string`. |
153
+
| slice | An ordered list of values, see [collections.Dictionary](https://gohugo.io/functions/collections/slice/). Consider using a defined complex type instead. |
154
+
| string | Free format plain text. Maps to the Hugo type `string`. |
|**critical**|`critical.bundle`| Critical scripts are bundled by intent category. The target bundle's filename uses `critical.bundle` as basename and the category name as suffix. When the category is `other`, the suffix is omitted. Localized modules trigger a language code extension. |
49
-
|**core**|`core.bundle`| Core scripts are bundled similarly as critical scripts. The target bundle's filename uses `core.bundle` as basename. |
50
-
|**optional**|`<module name>`| Scripts that are part of an optional module are bundled by their module name and optional category. Similar to core scripts, optional scripts bundles can also receive a language code extension. |
49
+
|**core**|`core.bundle`| Core scripts are bundled similarly as critical scripts. The target bundle's filename uses `core.bundle` as basename.|
50
+
|**optional**|`<module name>`| Scripts that are part of an optional module are bundled by their module name and optional category. Similar to core scripts, optional scripts bundles can also receive a language code extension.|
51
51
52
52
## Integration approaches
53
53
@@ -57,14 +57,14 @@ Hinodes supports three types of integration approaches. The next paragraphs desc
57
57
58
58
The main Hinode repository includes several scripts maintained within the `assets/js` folder. You can add (or mount) your own scripts to this folder to include them in the build pipeline. Hinode supports the following directories relative to the `assets` mount point:
59
59
60
-
| Category | Match (glob pattern) | Target bundle |
Copy file name to clipboardExpand all lines: content/en/docs/latest/components/icon.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,11 @@ Use the `icon` shortcode to quickly add a Font Awesome icon to your content. You
32
32
The shortcode supports both unnamed arguments and named arguments. When using unnamed arguments, all attributes are mapped to the `class` argument, separated by spaces.
33
33
34
34
<!-- markdownlint-disable MD037 MD058 -->
35
-
| Argument | Required | Description |
36
-
|-----------|----------|-------------|
37
-
| class | Yes | Family, name, and styling of the icon to display. The shortcode expects the following format and order: `{family} {name} {style attributes}`. The shortcode supports the default families of the free version of Font Awesome, including shorthand notation: "fa-solid" ("fas"), "fa-regular" ("fa"), "fa-brands" ("fab"). You can omit the `fa-` prefix of the icon name. Alternatively, you can reference a custom family and icon stored in `assets/svgs/{family}/{icon}.svg`. |
38
-
| style | No | Optional custom style of the icon, e.g. `--fa-animation-duration: 2s;`. Hinode disables inline styles by default, review the [Content Security Policy]({{% relref "server-headers" %}}) for more details. |
39
-
| spacing | No | {{< release version="v0.21.0" short="true" button-size="sm" inline="true" >}} Optional flag to add a trailing whitespace character to optimize inline rendering, defaults to "true". |
| class | Yes| Family, name, and styling of the icon to display. The shortcode expects the following format and order: `{family} {name} {style attributes}`. The shortcode supports the default families of the free version of Font Awesome, including shorthand notation: "fa-solid" ("fas"), "fa-regular" ("fa"), "fa-brands" ("fab"). You can omit the `fa-` prefix of the icon name. Alternatively, you can reference a custom family and icon stored in `assets/svgs/{family}/{icon}.svg`. |
38
+
| style | No | Optional custom style of the icon, e.g. `--fa-animation-duration: 2s;`. Hinode disables inline styles by default, review the [Content Security Policy]({{% relref "server-headers" %}}) for more details.|
39
+
| spacing | No | {{< release version="v0.21.0" short="true" button-size="sm" inline="true" >}} Optional flag to add a trailing whitespace character to optimize inline rendering, defaults to "true".|
Copy file name to clipboardExpand all lines: content/en/docs/latest/components/timeline.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,15 @@ The shortcode supports the following arguments:
30
30
31
31
Define a file in the `data` folder that contains the timeline data. The format supports the following attributes:
32
32
33
-
| Attribute | Required | Description |
34
-
|-----------|----------|-------------|
35
-
| title | Yes | Required title of the timeline element. |
36
-
| icon | Yes | Required class and name of a Font Awesome icon to include. The icons use the [icon shorthand notation]({{% relref "../content/icons" %}}). |
37
-
| color | No | Optional [theme color]({{% relref "colors" %}}) of the timeline element, defaults to `primary`. |
38
-
| date | No | Optional date of the timeline element, placed below the title. |
39
-
| badge | No | Optional label of a [pill badge]({{% relref "badge#pill-badges" %}}) placed next to the title. |
40
-
| url | No | Optional url of the timeline element, added as link to the title when set. The url is joined with the `release` attribute of the [documentation configuration]({{% relref "documentation#basic-configuration" %}}), unless the url is absolute (e.g. starts with `http`). |
41
-
| content | No | Optional content of the timeline element, supports markdown. |
| title | Yes | Required title of the timeline element.|
36
+
| icon | Yes | Required class and name of a Font Awesome icon to include. The icons use the [icon shorthand notation]({{% relref "../content/icons" %}}).|
37
+
| color | No | Optional [theme color]({{% relref "colors" %}}) of the timeline element, defaults to `primary`.|
38
+
| date | No | Optional date of the timeline element, placed below the title.|
39
+
| badge | No | Optional label of a [pill badge]({{% relref "badge#pill-badges" %}}) placed next to the title.|
40
+
| url | No | Optional url of the timeline element, added as link to the title when set. The url is joined with the `release` attribute of the [documentation configuration]({{% relref "documentation#basic-configuration" %}}), unless the url is absolute (e.g. starts with `http`). |
41
+
| content | No | Optional content of the timeline element, supports markdown.|
42
42
43
43
The following snippet defines a single timeline element in `yml` format.
0 commit comments