From 8cbd44b96f4058cec846d9ea2a6ebc8336fc8247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A0s=20Civil?= <70479573+BernatBC@users.noreply.github.com> Date: Wed, 26 Mar 2025 16:19:13 +0100 Subject: [PATCH] Enable flowchart on exampleSite --- assets/scripts/features/flowchart/mermaid.js | 1 - exampleSite/hugo.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/scripts/features/flowchart/mermaid.js b/assets/scripts/features/flowchart/mermaid.js index 501a48f..2d4365d 100644 --- a/assets/scripts/features/flowchart/mermaid.js +++ b/assets/scripts/features/flowchart/mermaid.js @@ -86,7 +86,6 @@ function setMermaidTheme(siteTheme) { function initMermaid() { saveOriginalData().catch(console.error); - setMermaidTheme("light"); } export { setMermaidTheme } \ No newline at end of file diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index e2572cd..0f0debd 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -240,7 +240,7 @@ params: # Enable this to create flowcharts using shortcodes. flowchart: - enable: false + enable: true services: # Uncomment for `mermaid` shortcode. mermaid: