Files
Cell 5322a15ceb docs(layouts): add header comments to undocumented partials
Add `{{/* ... */}}` header comments to 25 partials that had no documentation,
enabling `pnpm gen:docs` to generate their reference docs. Also fix
base/head/index.html leading blank line that prevented parser matching.

Groups covered: base/, feed/, function/, home/, init/, plugin/, single/, store/, (root).
2026-07-23 12:56:40 +08:00

14 lines
459 B
HTML

{{- /*
Style accumulation store partial.
Appends a style resource entry to the page's accumulated style list.
Used by other partials to register CSS assets that are rendered together
in the head section via base/assets.html.
*/ -}}
{{- $noop := .Page.WordCount -}}
{{- $this := .Page.Store.Get "this" -}}
{{- $style := $this.style | default slice -}}
{{- $style = $style | append (slice .Data) -}}
{{- .Page.Store.SetInMap "this" "style" $style -}}