mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:43:34 +08:00
The new highlighter does not work to well if no syntax is specified for the code block / code fence / indention. See https://github.com/gohugoio/hugo/pull/8917
540 B
540 B
title | description |
---|---|
Site param | Get value of site params variables in your page. |
siteparam
shortcode is used to help you print values of site params.
For instance, in this current site, the editURL
variable is used in config.toml
[params]
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
Use the siteparam
shortcode to display its value.
`editURL` Value : {{%/* siteparam "editURL" */%}}
is displayed as
editURL
Value : {{% siteparam "editURL" %}}