Feat: enhance Mermaid configuration and fix initialization bug (#617)

* 🐛 Fix: Mermaid initialization conflict error

*  Feat: enhance Mermaid configuration with security level, look, and font family options
This commit is contained in:
Cell
2025-08-14 15:29:23 +08:00
committed by GitHub
parent ba6cc4ed8e
commit e04bb611dc
12 changed files with 70 additions and 29 deletions
+2 -2
View File
@@ -106,8 +106,8 @@
{{- end -}}
</section>
<section>
{{- $relURL := relURL "" -}}
<span><a href="javascript:void(0);" onclick="window.history.back();">{{ T "single.back" }}</a></span>&nbsp;|&nbsp;<span><a href="{{ $relURL }}">{{ T "single.home" }}</a></span>
{{- $relLangURL := relLangURL "" -}}
<span><a href="javascript:void(0);" onclick="window.history.back();">{{ T "single.back" }}</a></span>&nbsp;|&nbsp;<span><a href="{{ $relLangURL }}">{{ T "single.home" }}</a></span>
</section>
</div>