summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/page/Scratch.md
blob: 61c5dc19eb06c632d03857c09fbbdf965d006433 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: Scratch
description: Returns a "scratch pad" to store and manipulate data, scoped to the current page.
categories: []
keywords: []
params:
  functions_and_methods:
    returnType: maps.Scratch
    signatures: [PAGE.Scratch]
expiryDate: 2026-11-18 # deprecated 2024-11-18 (soft)
---

{{< deprecated-in 0.138.0 >}}
Use the [`PAGE.Store`] method instead.

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.

Beginning with v0.138.0 the `PAGE.Scratch` method is aliased to `PAGE.Store`.

[`PAGE.Store`]: /methods/page/store/
{{< /deprecated-in >}}