Back to Hugo

Scratch Pad Scope

docs/content/en/_common/scratch-pad-scope.md

0.161.1559 B
Original Source

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.

ScopeMethod or function
pagePAGE.Store
siteSITE.Store
globalhugo.Store
localcollections.NewScratch
shortcodeSHORTCODE.Store