hugo-wasm/docs/content/en/_common/scratch-pad-scope.md
2025-02-13 10:40:34 +01:00

608 B

_comment
Do not remove front matter.

Scope

The method or function used to create a scratch pad determines its scope. For example, use the Store method on a Page object to create a scratch pad scoped to the page.

Scope Method or function
page PAGE.Store
site SITE.Store
global hugo.Store
local collections.NewScratch
shortcode SHORTCODE.Store