I can’t find the documentation for page (as in page.Title for instance) in the docs due to the terms weight. Maybe you could point me in the right direction.
Specifically I am having an issue with the following use inside a partial:
{{- $icons := page.Scratch.Get "icons" -}}
...
{{- page.Scratch.SetInMap "icons" $iconname true -}}
On a single page, uncached as partial, this method “lost” some of the Icons set inside the same partial, but removing the page part from the equation fixed this.
{{- $icons := .Scratch.Get "icons" -}}
...
{{- .Scratch.SetInMap "icons" $iconname true -}}
And again, no caching is involved.
I want to understand what exactly page is doing that is different from .. Pretty sure that is explained in the docs, but I can’t find the proper location. (Maybe a weight parameter for Algolia somewhere could override the results of such common words. (short methods like in, etc are hard to find too (without knowing that collections will bring up a list of those functions. )