fix: enhance diagram copy button functionality and ensure Echarts visibility on home page

This commit is contained in:
Cell
2025-10-14 15:25:23 +08:00
parent c6f6a6c296
commit 5c74d4318a
3 changed files with 8 additions and 2 deletions
@@ -6,3 +6,6 @@
| partial "plugin/echarts.html"
-}}
{{- .Page.Store.Set "hasEcharts" true -}}
{{- if eq hugo.Context.MarkupScope "home" -}}
{{- site.Home.Store.Set "hasEcharts" true -}}
{{- end -}}