perf(home): disable third-party resource loading on the home page, and improve plugin comments

This commit is contained in:
Cell
2026-04-30 19:48:52 +08:00
parent cedff8610b
commit 502e427a0c
26 changed files with 200 additions and 45 deletions
@@ -3,9 +3,6 @@
"Inner" .Inner
"Resources" .Page.Resources
"Position" .Position
"Page" .Page
| partial "plugin/echarts.html"
-}}
{{- .Page.Store.Set "hasEcharts" true -}}
{{- if eq hugo.Context.MarkupScope "home" -}}
{{- site.Home.Store.Set "hasEcharts" true -}}
{{- end -}}