How to use params in markdown file

i defined one parameter in config.yaml.
if i want to use the parameter in someone md file. how to?

params:
site_description: this is my site description

{{ $.Site.Params.site_description}} could works in html template. But when I use it in the md file, I can’t get the value.

Shortcodes

2 Likes

Yes, as you found out, with Hugo shortcodes one can access parameters from within content files.

1 Like