mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
Fix small typographical errors in shortcode templating page
This commit is contained in:
1 parent
d557ca80c3
commit
74da85edf6
1 file changed
+2
-2
@@ -100,10 +100,10 @@ The `.Params` variable in shortcodes contains the list parameters passed to shor
|
||||
: these are the parameters passed directly into the shortcode declaration (e.g., a YouTube video ID)
|
||||
|
||||
`$.Page.Params`
|
||||
: refers to the page's params; the "page" in this case refers to the content file in which the shortcode is declared (e.g., a `shortcode_color` field in a content's front matter).
|
||||
: refers to the page's params; the "page" in this case refers to the content file in which the shortcode is declared (e.g., a `shortcode_color` field in a content's front matter could be accessed via `$.Page.Params.shortcode_color`).
|
||||
|
||||
`$.Page.Site.Params`
|
||||
: refers to global variables as defined in your [site's configuration file][config]
|
||||
: refers to global variables as defined in your [site's configuration file][config].
|
||||
|
||||
#### `.IsNameParams`
|
||||
|
||||
|
||||
Reference in new issue
Block a user