diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6e6a52e..5d5c5d9 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -52,7 +52,25 @@ {{ .Render "header" }} - {{ block "main" . }}{{ end }} + {{ block "header" . }}{{ end }} + + {{ $full_width := .Params.FullWidth | default false }} + {{ if eq $full_width true }} +
+ {{ block "main" . }}{{ end }} +
+ {{ else }} +
+
+
+ {{ block "main" . }}{{ end }} +
+
+ {{ partial "layout/sidebar" }} +
+
+
+ {{ end }}
-
+
diff --git a/layouts/partials/layout/navbar_contents.html b/layouts/partials/layout/navbar_contents.html index 6b7cf83..5cd2bd9 100644 --- a/layouts/partials/layout/navbar_contents.html +++ b/layouts/partials/layout/navbar_contents.html @@ -14,7 +14,7 @@ {{ else }} - + {{ .Name }} {{ end }} {{ end }} @@ -48,17 +48,17 @@