mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
parent
df8bd4af4f
commit
2c3efc8106
6 changed files with 35 additions and 24 deletions
|
@ -327,7 +327,9 @@ type PageWithoutContent interface {
|
|||
|
||||
// Scratch returns a Scratch that can be used to store temporary state.
|
||||
// Note that this Scratch gets reset on server rebuilds. See Store() for a variant that survives.
|
||||
maps.Scratcher
|
||||
// Scratch returns a "scratch pad" that can be used to store state.
|
||||
// Deprecated: From Hugo v0.138.0 this is just an alias for Store.
|
||||
Scratch() *maps.Scratch
|
||||
|
||||
// Store returns a Scratch that can be used to store temporary state.
|
||||
// In contrast to Scratch(), this Scratch is not reset on server rebuilds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue