Files
athens/docs/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md
Brian Ketelsen c95daa79c1 docs: hugo site generator for docs endpoint (#18)
* docs: add docs endpoint with pretty template. partially fixes #17

* add docs target to makefile, modify hugo target
2018-03-01 11:20:53 -08:00

539 B

title, description
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/matcornic/hugo-theme-learn/edit/master/exampleSite/content/"

Use the siteparam shortcode to display its value.

`editURL` Value : {{%/* siteparam "editURL" */%}}

is displayed as

editURL Value : {{% siteparam "editURL" %}}