diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-26 18:41:36 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-26 18:41:36 +0100 |
commit | 876e5f67b14a3707b757fd008bbcc7792057c69d (patch) | |
tree | f0aa763b744e78ad6f558e2ceff30984f991a538 /docs/content/en/content-management/shortcodes.md | |
parent | 9bc6187b8337c4a370bd3f21130a764d9ef6f7b3 (diff) | |
parent | c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53 (diff) |
Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
Diffstat (limited to 'docs/content/en/content-management/shortcodes.md')
-rw-r--r-- | docs/content/en/content-management/shortcodes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/content-management/shortcodes.md b/docs/content/en/content-management/shortcodes.md index 1990cce5a..b719e681d 100644 --- a/docs/content/en/content-management/shortcodes.md +++ b/docs/content/en/content-management/shortcodes.md @@ -243,7 +243,7 @@ Using the preceding `instagram` with `hidecaption` example above, the following ### `param` -Gets a value from the current `Page's` params set in front matter, with a fall back to the site param value. If will log an `ERROR` if the param with the given key could not be found in either. +Gets a value from the current `Page's` params set in front matter, with a fall back to the site param value. It will log an `ERROR` if the param with the given key could not be found in either. ```bash {{</* param testparam */>}} @@ -372,7 +372,7 @@ Copy the YouTube video ID that follows `v=` in the video's URL and pass it to th {{</* youtube w7Ft2ymGmfc */>}} {{< /code >}} -Furthermore, you can automatically start playback of the embedded video by setting the `autoplay` parameter to `true`. Remember that you can't mix named an unnamed parameters, so you'll need to assign the yet unnamed video id to the parameter `id`: +Furthermore, you can automatically start playback of the embedded video by setting the `autoplay` parameter to `true`. Remember that you can't mix named and unnamed parameters, so you'll need to assign the yet unnamed video id to the parameter `id`: {{< code file="example-youtube-input-with-autoplay.md" >}} |