Files
hugo-fresh/layouts/_default/baseof.html
Stefan M 3b52fc46e4 More customizing 🤘 (#33)
* Use sidebar param to show or hide sidebar toggle

* Make all sections optional

* Make footer quicklinks customizable

* Let customize the header image and link
2018-11-06 07:36:38 -08:00

56 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "meta.html" . }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{ partial "css.html" . }}
</head>
<body>
<!-- Preloader -->
<div id="preloader">
<div id="status"></div>
</div>
{{ block "main" . }}
{{ if .Site.Params.hero }}
{{ partial "hero.html" . }}
{{ end }}
{{ if .Site.Params.section1 }}
{{ partial "section1.html" . }}
{{ end }}
{{ if .Site.Params.section2 }}
{{ partial "section2.html" . }}
{{ end }}
{{ if .Site.Params.section3 }}
{{ partial "section3.html" . }}
{{ end }}
{{ if .Site.Params.section4 }}
{{ partial "section4.html" . }}
{{ end }}
{{ if .Site.Params.section5 }}
{{ partial "section5.html" . }}
{{ end }}
{{ if .Site.Params.footer }}
{{ partial "footer.html" . }}
{{ end }}
<!-- Back To Top Button -->
<div id="backtotop"><a href="#"></a></div>
{{ if .Site.Params.sidebar }}
{{ partial "sidebar.html" . }}
{{ end }}
{{ end }}
{{ partial "javascript.html" . }}
</body>
</html>