diff --git a/themes/buha/assets/css/layout.css b/themes/buha/assets/css/layout.css index 1a03db5e..1386487e 100644 --- a/themes/buha/assets/css/layout.css +++ b/themes/buha/assets/css/layout.css @@ -31,7 +31,7 @@ aside { } h1 { - margin-top: -1.2em; + margin-top: 0rem; } .right-sidebar { diff --git a/themes/buha/layouts/_default/baseof.html b/themes/buha/layouts/_default/baseof.html index de6d12b8..c9ce9c84 100644 --- a/themes/buha/layouts/_default/baseof.html +++ b/themes/buha/layouts/_default/baseof.html @@ -5,14 +5,7 @@
{{ partialCached "header" . }} -
-
- -

- {{ partial "sidebar.html" . }} -

-
-
+ {{ partial "submenu" . }}
diff --git a/themes/buha/layouts/partials/sidebar.html b/themes/buha/layouts/partials/sidebar.html index ed4b517c..7f751673 100644 --- a/themes/buha/layouts/partials/sidebar.html +++ b/themes/buha/layouts/partials/sidebar.html @@ -1,13 +1,6 @@ {{ $s := .Site.Params }} diff --git a/themes/buha/layouts/partials/submenu.html b/themes/buha/layouts/partials/submenu.html new file mode 100644 index 00000000..bb652707 --- /dev/null +++ b/themes/buha/layouts/partials/submenu.html @@ -0,0 +1,10 @@ + {{ if or (eq .Section "events") }} +
+
+ +

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

+
+
+ {{ end }} \ No newline at end of file