diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6f47fc8..2be5b12 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,24 +3,24 @@ {{ partial "head.html" . }} - {{ block "header" . }} - {{ partial "header.html" . }} - {{ end }} -
-
-

- {{ .Page.Title }} -

-
-
- {{ block "main" . }} - {{ .Content }} - {{ end }} -
- {{ block "footer" . }} - {{ partial "footer.html" . }} - {{ end }} -
+{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} +
+

{{ block "title" . }}{{ end }}

+
+{{ block "main" . }} +{{ .Content }} +{{ end }} +


+{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} +{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} +
+
+{{ block "footer" . }} + +{{ end }} \ No newline at end of file