diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f8e2ec..8d25598 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,31 @@ - {{- partial "head.html" . -}} - - {{- partial "header.html" . -}} -
- {{- block "main" . }}{{- end }} +{{- partial "head.html" . -}} + + + + +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/index.html b/layouts/index.html index e69de29..5041a0c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+ {{ .Content }} + +
+{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e69de29..3f91a0d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -0,0 +1,20 @@ + + + + + + {{ if not .IsHome }}{{ .Title }} - {{ end }}{{ site.Title }} + + + {{ if eq .Kind "page" }} + + + {{ else }} + + + {{ end }} + + + + +