added hugo module: mermaid

This commit is contained in:
leoli
2024-05-14 17:32:31 +08:00
parent 8b8510b27b
commit 918f46c657
4 changed files with 11 additions and 0 deletions

View File

@@ -94,3 +94,6 @@ path = "github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager"
# [[imports]]
# path = "github.com/gethugothemes/hugo-modules/seo-tools/counter-analytics"
[[imports]]
path = "github.com/hugomods/mermaid"

View File

@@ -85,6 +85,10 @@ expire_days = 60
content = "This site uses cookies. By continuing to use this website, you agree to their use."
button = "I Accept"
# diagrams
[mermaid]
js_url = 'https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs'
######################## sidebar widgets #########################
[widgets]
sidebar = ["categories", "tags"]