You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo 0.138.0 note that:
This release soft deprecates Page.Scratch and aliases it to Page.Store. The only difference between the two has been that the Page.Scratch was reset on rebuilds, which becomes problematic when state is written by cached content (typically .Content). The original motivation behind adding a new and not changing the existing method was to avoid breakage, but in hind-sight, it would have fixed more than it broke.
Note
Hugo 0.138.0 note that:
This release soft deprecates Page.Scratch and aliases it to Page.Store. The only difference between the two has been that the Page.Scratch was reset on rebuilds, which becomes problematic when state is written by cached content (typically .Content). The original motivation behind adding a new and not changing the existing method was to avoid breakage, but in hind-sight, it would have fixed more than it broke.
In future, maybe refactor with gohugoio/hugo#13021
The text was updated successfully, but these errors were encountered: