Skip to content

Commit 83747f3

Browse files
authored
content: Update FAQs
1 parent fc644d8 commit 83747f3

File tree

1 file changed

+2
-3
lines changed
  • content/en/troubleshooting

1 file changed

+2
-3
lines changed

‎content/en/troubleshooting/faq.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Why isn't Hugo's development server detecting file changes?
8484

8585
In these cases, instead of monitoring native file system events, use the `--poll` command line flag. For example, to poll the project files every 700 milliseconds, use `--poll 700ms`.
8686

87-
Why is my page Scratch or Store missing a value?
88-
: The [`Scratch`] and [`Store`] methods on a `Page` object allow you to create a [scratch pad](g) on the given page to store and manipulate data. Values are often set 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.
87+
Why is my page Store missing a value?
88+
: The [`Store`] method on a `Page` object allows you to create a [scratch pad](g) on the given page to store and manipulate data. Values are often set 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.
8989

9090
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](g) variable:
9191

@@ -104,7 +104,6 @@ Which page methods trigger content rendering?
104104
105105
[`Paginate`]: /methods/page/paginate/
106106
[`Paginator`]: /methods/page/paginator/
107-
[`Scratch`]: /methods/page/scratch
108107
[`Store`]: /methods/page/store
109108
[forum]: https://discourse.gohugo.io
110109
[forum]: https://discourse.gohugo.io

0 commit comments

Comments
 (0)