diff --git a/themes/buha/layouts/_default/baseof.html b/themes/buha/layouts/_default/baseof.html index e5ebb3d4..de6d12b8 100644 --- a/themes/buha/layouts/_default/baseof.html +++ b/themes/buha/layouts/_default/baseof.html @@ -5,9 +5,14 @@
{{ partialCached "header" . }} -
- {{ block "nav2" . -}}{{- end }} -
+
+
+ +

+ {{ partial "sidebar.html" . }} +

+
+
diff --git a/themes/buha/layouts/_default/list.html b/themes/buha/layouts/_default/list.html index 25cb8e38..3262697c 100644 --- a/themes/buha/layouts/_default/list.html +++ b/themes/buha/layouts/_default/list.html @@ -163,27 +163,6 @@
{{- end -}} -{{ define "nav2" }} - -
- -

- {{ $true := false }} - {{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }} - {{ if ne $taxonomyname nil }} - {{ $true = true }} - {{ end }} - {{ end }} - {{ if $true }} - {{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }} - {{ $taxonomyname | humanize }} - {{ end }} - {{ end }} - {{ partial "sidebar.html" . }} -

-
-{{ end }} - {{ define "sidebar" }} {{- partial "sidebar" . }} {{ end }} \ No newline at end of file diff --git a/themes/buha/layouts/partials/sidebar.html b/themes/buha/layouts/partials/sidebar.html index 270d9149..569f53ea 100644 --- a/themes/buha/layouts/partials/sidebar.html +++ b/themes/buha/layouts/partials/sidebar.html @@ -19,7 +19,7 @@
- + {{ end }}