mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
835 B
835 B
title | description | categories | keywords | action | aliases | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Scratch | Creates a "scratch pad" on the given page to store and manipulate data. |
|
|
The Scratch
method on a Page
object creates a scratch pad to store and manipulate data. To create a scratch pad that is not reset on server rebuilds, use the Store
method instead.
To create a locally scoped scratch pad that is not attached to a Page
object, use the newScratch
function.
{{% include "methods/page/_common/scratch-methods.md" %}}