update required hugo min version to v0.65

This commit is contained in:
Robert Kaussow 2020-04-15 01:09:53 +02:00
parent e0f69f1cf7
commit ea44ee3860
13 changed files with 73 additions and 76 deletions

View file

@ -1,9 +1,14 @@
{{ if not (.Page.Scratch.Get "mermaid") }}
<!-- Include mermaid only first time -->
<script src="{{ "js/mermaid.min.js" | relURL }}"></script>
<script>
mermaid.initialize({
flowchart: { useMaxWidth: true }
});
</script>
{{ .Page.Scratch.Set "mermaid" true }}
{{ end }}
<p class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
{{ .Inner }}
{{- .Inner -}}
</p>