<!doctype html>
<html>

<head>
  {{ partialCached "head.html" . .Title }} {{ if .Store.Get "hasMermaid" }}
  <script type="module">
    import mermaid from "https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs";
    mermaid.initialize({startOnLoad: true});
  </script>
  {{ end }}
</head>

<body>
  <!-- Code that all your templates share, like a header -->
  {{ partialCached "header.html" . .Page}} {{.Content}}
  <!-- More shared code, perhaps a footer but that can be overridden if need be in  -->
  {{ partialCached "footer.html" . .Page}}
</body>

</html>
