baseof.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="{{ .Site.Language.Lang }}">
  3. <head>
  4. <title>{{ .Page.Title }}</title>
  5. <!------ ADD COMMON HEADERS -------->
  6. {{- partial "header.html" . -}}
  7. {{- partial "opengraph.html" . -}}
  8. <!------ ADD PAGE SPECIFIC HEADERS ------->
  9. {{ block "header" . }} {{ end }}
  10. <!--================= add analytics if enabled =========================-->
  11. {{- partial "analytics.html" . -}}
  12. {{ with resources.Get "scripts/core/theme-scheme.js" | fingerprint }}
  13. <script integrity="{{.Data.Integrity}}">
  14. {{ .Content | safeJS }}
  15. </script>
  16. {{ end }}
  17. </head>
  18. <body class="type-{{ .Page.Type }} kind-{{ .Page.Kind }}" data-bs-spy="scroll" data-bs-target="#TableOfContents" data-bs-offset="80">
  19. <div class="container-fluid bg-secondary wrapper">
  20. <!----- ADD NAVBAR --------------->
  21. {{ block "navbar" . }} {{ end }}
  22. <!----- ADD SIDEBAR --------------->
  23. {{ block "sidebar" . }} {{ end }}
  24. <!----- ADD PAGE CONTENT --------->
  25. {{ block "content" . }} {{ end }}
  26. <!----- ADD TABLE OF CONTENTS ----------->
  27. {{ block "toc" . }} {{ end }}
  28. </div>
  29. <!------- ADD FOOTER ------------>
  30. {{ $footerTemplate:= site.Params.footer.template | default "footer.html" }}
  31. {{- partial $footerTemplate . -}}
  32. <!------- ADD COMMON SCRIPTS ------->
  33. {{ partial "scripts.html" . }}
  34. <!------- ADD PAGE SPECIFIC SCRIPTS ------>
  35. {{ block "scripts" . }} {{ end }}
  36. <!------ IF WANTED, ADD SUPPORT LINKS -------->
  37. {{- partial "misc/support.html" . -}}
  38. </body>
  39. </html>