mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
9 lines
375 B
Markdown
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/
|