refactor(baseof): added baseof template to replace template boilerplate

This commit is contained in:
Russell J. Hewett committed 2019-05-30 21:47:46 -04:00
1 parent ddba3fee2b
commit 1c2178bc44
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="{{ site.LanguageCode | default "en-us" }}">
{{ partial "site_head.html" . }}
<body id="top" data-spy="scroll" data-target="{{ if or .IsHome (eq .Type "widget_page") }}#navbar-main{{else}}#TableOfContents{{end}}" data-offset="71" {{ if not (.Scratch.Get "light") }}class="dark"{{end}}>
{{ partial "search" . }}
{{ partial "navbar.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "site_js.html" . }}
{{ partial "site_footer.html" . }}
</body>
</html>