Back to Hugo

Store Scope

docs/content/en/_common/store-scope.md

0.163.3583 B
Original Source

Scope

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

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