Skip to content

Commit

Permalink
Add new-in badges
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored Dec 1, 2024
1 parent 6ad0180 commit a07638a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/en/functions/hugo/Store.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 2 additions & 0 deletions content/en/methods/site/Store.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit a07638a

Please sign in to comment.