Skip to content

Commit 7cc7b3a

Browse files
committed
fixup! Add support for Mermaid diagrams
This avoids empty lines. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a1046c3 commit 7cc7b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h1 data-pagefind-meta="title">About{{ if (isset .Params "subtitle") }} - {{ .Pa
191191
{{ end }}
192192

193193
</body>
194-
{{- if .Store.Get "hasMermaid" }}
194+
{{ if .Store.Get "hasMermaid" -}}
195195
<script type="module">
196196
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs';
197197
mermaid.initialize({ startOnLoad: true });

0 commit comments

Comments
 (0)