diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 14:37:33 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 14:37:33 +0300 |
commit | 47fc02a8c71af4926148beb5d5cc0fc221aa5429 (patch) | |
tree | e2e5922b7fc16f3d25b02cd345ad534991d38629 /layouts/_default/baseof.html | |
parent | 017c7b792f3e679f61b004ec132a36f866b39e9b (diff) |
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 313ce06..289d824 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,4 +14,10 @@ {{ block "main" . }}{{ end }} {{ partial "footer.html" . }} </body> +{{ if .Store.Get "hasMermaid" }} + <script type="module"> + import mermaid from '/js/mermaid.esm.min.mjs'; + mermaid.initialize({ startOnLoad: true }); + </script> +{{ end }} </html> |