Sha256: 202cfe5f32345205da0ad114d46528cd34a81c726c396f4047262bb64ee988ef

Contents?: true

Size: 539 Bytes

Versions: 5

Compression:

Stored size: 539 Bytes

Contents

---
title: Site param
description : "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`

```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" %}}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbcli-0.3.3 docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md
rbcli-0.3.2 docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md
rbcli-0.3.1 docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md
rbcli-0.3.0 docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md
rbcli-0.2.12 docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md