dot-hugo/layouts/_default/baseof.html

24 lines
811 B
HTML
Raw Normal View History

2019-01-06 10:40:05 +00:00
<!DOCTYPE html>
2019-09-04 11:35:48 +00:00
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
{{ partial "head.html" . }}
2020-02-08 04:40:37 +00:00
<body>
{{ if .IsHome }}
{{ "<!-- header -->" | safeHTML }}
2020-05-16 05:36:03 +00:00
<header class="banner {{if .Site.Params.banner.bg_image}}overlay bg-cover{{else}}bg-primary{{end}}" data-background="{{ .Site.Params.banner.bg_image | absURL }}">
2019-09-04 11:35:48 +00:00
{{ partial "navigation.html" . }}
{{ partialCached "banner.html" . }}
2020-02-08 04:40:37 +00:00
</header>
{{ "<!-- /header -->" | safeHTML }}
{{ else }}
{{ "<!-- header -->" | safeHTML }}
<header class="shadow-bottom sticky-top bg-white">
{{ partialCached "navigation.html" . }}
2020-02-08 04:40:37 +00:00
</header>
{{ "<!-- /header -->" | safeHTML }}
{{ end }}
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . }}
2020-02-08 04:40:37 +00:00
</body>
2019-09-04 11:35:48 +00:00
</html>