Files
FixIt/layouts/_markup/render-codeblock-mermaid.html
T
2025-08-20 11:37:10 +08:00

6 lines
230 B
HTML

{{- dict "Options" .Attributes "Inner" .Inner | partial "plugin/mermaid.html" -}}
{{- .Page.Store.Set "hasMermaid" true -}}
{{- if eq hugo.Context.MarkupScope "home" -}}
{{- site.Home.Store.Set "hasMermaid" true -}}
{{- end -}}