Skip to content

Commit

Permalink
Merge pull request #23 from usnistgov:fix-utagged-script
Browse files Browse the repository at this point in the history
Fixed missing script tags.
  • Loading branch information
david-waltermire authored Nov 7, 2022
2 parents 631e114 + 74d16b8 commit bc74e15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
{{ end }}

{{ if or $usingMermaid $usingImageMap }}
<script>
$(document).ready(function(e) {
{{ if $usingMermaid }}
mermaid.initialize();
Expand All @@ -131,6 +132,7 @@
$('img[usemap]').rwdImageMaps();
{{ end }}
});
</script>
{{ end }}

{{ $tocEnabled := true }}
Expand Down

0 comments on commit bc74e15

Please sign in to comment.