From a07638a808197470dd8f0f05c0455951c0e42bc9 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 1 Dec 2024 06:50:47 -0800 Subject: [PATCH] Add new-in badges --- content/en/functions/hugo/Store.md | 4 +++- content/en/methods/site/Store.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/content/en/functions/hugo/Store.md b/content/en/functions/hugo/Store.md index da0d2de9a..b0503a5ff 100644 --- a/content/en/functions/hugo/Store.md +++ b/content/en/functions/hugo/Store.md @@ -9,10 +9,12 @@ action: - methods/site/store - functions/collections/NewScratch returnType: maps.Scratch - signatures: [site.Store] + signatures: [hugo.Store] toc: true --- +{{< new-in 0.139.0 >}} + The global `hugo.Store` function creates a persistent [scratch pad] to store and manipulate data. To create a locally scoped, use the [`newScratch`] function. [`Scratch`]: /functions/hugo/scratch/ diff --git a/content/en/methods/site/Store.md b/content/en/methods/site/Store.md index b52d9a381..1c54007ab 100644 --- a/content/en/methods/site/Store.md +++ b/content/en/methods/site/Store.md @@ -14,6 +14,8 @@ action: toc: true --- +{{< new-in 0.139.0 >}} + The `Store` method on a `Site` object creates a persistent [scratch pad] to store and manipulate data. To create a locally scoped scratch pad that is not attached to a `Site` object, use the [`newScratch`] function. [`Scratch`]: /methods/site/scratch/