From 8e0734a94c1e204614757fc43889f2acd99626f1 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Wed, 02 Jun 2021 16:50:38 +0000
Subject: [PATCH] fix: load mermaid script consistently #54

---
 layouts/partials/scripts/other.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/scripts/other.html b/layouts/partials/scripts/other.html
index 8c4153b..51f0996 100644
--- a/layouts/partials/scripts/other.html
+++ b/layouts/partials/scripts/other.html
@@ -1,5 +1,5 @@
 
-{{ if in .Plain "mermaid" }}
+{{ if in .Content "mermaid" }}
 <script defer src={{  absURL "js/mermaid.min.js"  }}></script>
 <script>
   document.addEventListener("DOMContentLoaded", function(event) {

--
Gitblit v1.10.0