added hugo module: mermaid
This commit is contained in:
parent
8b8510b27b
commit
918f46c657
@ -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"
|
||||
|
@ -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"]
|
||||
|
@ -26,4 +26,5 @@ require (
|
||||
github.com/gethugothemes/hugo-modules/tab v0.0.0-20240504032439-79fc09d96848 // indirect
|
||||
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240504032439-79fc09d96848 // indirect
|
||||
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240504032439-79fc09d96848 // indirect
|
||||
github.com/hugomods/mermaid v0.1.1 // indirect
|
||||
)
|
||||
|
@ -56,3 +56,6 @@
|
||||
|
||||
<!-- Crisp Chat -->
|
||||
{{/* {{ partialCached "crisp-chat.html" . }} */}}
|
||||
|
||||
<!-- Mermaid -->
|
||||
{{ partial "mermaid/assets/js" . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user