Add new-in badges

This commit is contained in:
Joe Mooring 2024-12-01 06:50:47 -08:00 committed by GitHub
parent 6ad018055b
commit a07638a808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -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/

View File

@ -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/