mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
This commit is contained in:
8
docs/content/en/quick-reference/glossary/scratch-pad.md
Normal file
8
docs/content/en/quick-reference/glossary/scratch-pad.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
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/
|
Reference in New Issue
Block a user