Debian Codegraph @

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

raw
1 ---
2 title: Scratch
3 description: Returns a persistent data structure for storing and manipulating keyed values, scoped to the current shortcode.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: maps.Scratch
9 signatures: [SHORTCODE.Scratch]
10 expiryDate: 2026-11-18 # deprecated 2024-11-18 (soft)
11 ---
12
13 {{< deprecated-in 0.139.0 >}}
14 Use the [`SHORTCODE.Store`](/methods/shortcode/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 `SHORTCODE.Store` as soon as possible.
17
18 Beginning with v0.139.0 the `SHORTCODE.Scratch` method is aliased to `SHORTCODE.Store`.
19 {{< /deprecated-in >}}