baseof.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{{ .Page.Title }}</title>
  5. <!------ ADD COMMON HEADERS -------->
  6. {{- partial "header.html" . -}}
  7. {{ template "_internal/opengraph.html" . }}
  8. <!------ ADD PAGE SPECIFIC HEADERS ------->
  9. {{ block "header" . }} {{ end }}
  10. <!--================= add analytics if enabled =========================-->
  11. {{- partial "analytics.html" . -}}
  12. </head>
  13. <body data-spy="scroll" data-target="#TableOfContents" data-offset="80">
  14. <div class="container-fluid bg-dimmed wrapper">
  15. <!----- ADD NAVBAR --------------->
  16. {{ block "navbar" . }} {{ end }}
  17. <!----- ADD SIDEBAR --------------->
  18. {{ block "sidebar" . }} {{ end }}
  19. <!----- ADD PAGE CONTENT --------->
  20. {{ block "content" . }} {{ end }}
  21. <!----- ADD TABLE OF CONTENTS ----------->
  22. {{ block "toc" . }} {{ end }}
  23. </div>
  24. <!------- ADD FOOTER ------------>
  25. {{ $footerTemplate:= site.Params.footer.template | default "footer.html" }}
  26. {{- partial $footerTemplate . -}}
  27. <!------- ADD COMMON SCRIPTS ------->
  28. {{ partial "scripts.html" . }}
  29. <!------- ADD PAGE SPECIFIC SCRIPTS ------>
  30. {{ block "scripts" . }} {{ end }}
  31. <!------ IF WANTED, ADD SUPPORT LINKS -------->
  32. {{- partial "misc/support.html" . -}}
  33. </body>
  34. </html>