Skip to content

Commit de1b539

Browse files
authored
Fix mermaid rendering for pages
1 parent 4b73a75 commit de1b539

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/undergraduate/curriculum.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata: none
55
toc: false
66
weight: 2
77
type: wide
8+
hasMermaid: true
89
---
910

1011
<!-- prettier-ignore-start -->

layouts/partials/footer/footer.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ <h5 class="mb-4">{{- .Name -}}</h5>
2626
{{ end }}
2727
</ul>
2828
</div>
29+
{{ if .Params.hasMermaid }}
30+
{{ partial "footer/optional-scripts.html" . }}
31+
{{ end }}
2932
</footer>

0 commit comments

Comments
 (0)