Files
hugo/docs/content/en/quick-reference/glossary/scratch-pad.md
2025-02-13 10:40:34 +01:00

9 lines
375 B
Markdown

---
title: scratch pad
---
Conceptually, a _scratch pad_ is a [_map_](g) with [_methods_](g) to set, get, update, and delete values. Attach the data structure to a `Page` or `Site` object using the [`Store`] method, or create a locally scoped scratch pad using the [`newScratch`] function.
[`Store`]: /methods/page/store/
[`newScratch`]: /functions/collections/newscratch/