aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 289d8244461c6d7876fc9ad44b07dd31d1d3f3af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html
  lang="{{ site.Language.LanguageCode }}" 
  dir="{{ or site.Language.LanguageDirection `ltr` }}"
  data-bs-theme="auto"
>
<head>
  {{ partial "head.html" . }}
</head>
<body>
    <header>
      {{ partial "header.html" . }}
    </header>
    {{ block "main" . }}{{ end }}
    {{ partial "footer.html" . }}
</body>
{{ if .Store.Get "hasMermaid" }}
  <script type="module">
    import mermaid from '/js/mermaid.esm.min.mjs';
    mermaid.initialize({ startOnLoad: true });
  </script>
{{ end }}
</html>