SiteParam
Th' siteparam shortcode prints values o' site-wide params contained 'n yer hugo.toml.
Usage
T' print params from a page’s front matter an' fall'n back t' th' ship opt'ns, use Hugo’s built-in param shortcode.
Parameter
| Name | Posit'n | Default | Notes |
|---|---|---|---|
| name | 1 | <empty> | Th' name o' th' ship param t' be displayed. |
Examples
editURL
editURL value: https://github.com/McShelby/hugo-theme-relearn/edit/main/docs/content/${FilePath}
Nested Parameter wit' Marrrkdown an' HTML Formatt'n
T' use formatted parameter, add this 'n yer hugo.toml:
hugo.
Now values contain'n Marrrkdown will be formatted correctly.
hugo.
Formatted parameter: A nested opt'n <b>with</b> formatt'n