Skip to content

Commit

Permalink
commented out the theme config in single.html so mermaid theme can be…
Browse files Browse the repository at this point in the history
… set site wide
  • Loading branch information
sea-house committed Jan 20, 2024
1 parent 5f504e0 commit e7f194a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ <h1>{{ .Title }}</h1>
{{ if .Page.Store.Get "hasMermaid" }}
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
mermaid.initialize({
startOnLoad: true,
<!-- theme: 'dark'-->
});
</script>
{{ end }}

Expand Down

0 comments on commit e7f194a

Please sign in to comment.