mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 08:15:37 +00:00
Update Store.md
This commit is contained in:
1 parent
7c9145c43c
commit
54a90f5698
1 file changed
+1
-1
@@ -106,7 +106,7 @@ Removes the given key.
|
||||
|
||||
## Determinate values
|
||||
|
||||
The `Store` method is often used to set scratch pad values within a shortcode, a partial template called by a shortcode, or by a Markdown render hook. In all three cases, the scratch pad values are not determinate until Hugo renders the page content.
|
||||
The `Store` method is often used to set scratch pad values within a shortcode, a partial template called by a shortcode, or by a Markdown render hook. In all three cases, the scratch pad values are indeterminate until Hugo renders the page content.
|
||||
|
||||
If you need to access a scratch pad value from a parent template, and the parent template has not yet rendered the page content, you can trigger content rendering by assigning the returned value to a [noop] variable:
|
||||
|
||||
|
||||
Reference in new issue
Block a user