diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..9bc0b22 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + {{- partial "head.html" . -}} + <body> + {{ if ne .Kind "home" }} + <!-- don't show header on index.html --> + {{- partial "header.html" . -}} + {{ end }} + + <main id="site-{{ if eq .Kind "home" }}home{{ else }}{{ .Section }}{{ end }}-page"> + {{- block "main" . }}{{- end }} + </main> + + {{- partial "footer.html" . -}} + </body> +</html> |