mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
refactor(baseof): added baseof template to replace template boilerplate
This commit is contained in:
1 parent
ddba3fee2b
commit
1c2178bc44
1 file changed
+21
@@ -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>
|
||||
Reference in new issue
Block a user