Debian Codegraph @

docs/content/en/methods/page/Scratch.md

raw
1 ---
2 title: Scratch
3 description: Returns a persistent data structure for storing and manipulating keyed values, scoped to the current page.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: maps.Scratch
9 signatures: [PAGE.Scratch]
10 expiryDate: 2026-11-18 # deprecated 2024-11-18 (soft)
11 ---
12
13 {{< deprecated-in 0.138.0 >}}
14 Use the [`PAGE.Store`](/methods/page/store/) method instead.
15
16 This is a soft deprecation. This method will be removed in a future release, but the removal date has not been established. Although Hugo will not emit a warning if you continue to use this method, you should begin using `PAGE.Store` as soon as possible.
17
18 Beginning with v0.138.0 the `PAGE.Scratch` method is aliased to `PAGE.Store`.
19 {{< /deprecated-in >}}