Is it possible to use site params in markdown? I looked at the built in shortcodes and didn’t see anything. Is there an undocumented shortcode? If not, how can I create a shortcode to allow me to access site params?
Thanks!
Is it possible to use site params in markdown? I looked at the built in shortcodes and didn’t see anything. Is there an undocumented shortcode? If not, how can I create a shortcode to allow me to access site params?
Thanks!
It needs to be done in shortcodes (either regular or inline (use the search for the latter)).
{{ site.Params.my_param }}
Also note that you can access the Page
from a shortcode, so you can do:
{{ .Page.Params.my_page_param }}