Files
hugo/content/en/methods/shortcode/Store.md
T
Joe Mooring 69d7a781b4 Replace links to glossary terms with custom render hook syntax
For example: [scalar](/getting-started/glossary/#scalar) => [scalar](g)
2025-01-20 00:26:38 -08:00

904 B

title, description, categories, keywords, action
title description categories keywords action
Store Returns a "Store pad" scoped to the shortcode to store and manipulate data.
related returnType signatures
functions/collections/NewScratch
methods/page/Store
methods/site/Store
functions/hugo/Store
maps.Store
SHORTCODE.Store

{{< new-in 0.139.0 >}}

The Store method within a shortcode creates a scratch pad to store and manipulate data. The scratch pad is scoped to the shortcode.

{{% note %}} With the introduction of the newScratch function, and the ability to assign values to template variables after initialization, the Store method within a shortcode is mostly obsolete.

{{% /note %}}

{{% include "methods/page/_common/scratch-methods.md" %}}