From 1d65cb7262ad3d919a1aee6d18b80d26c1ffb446 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 15 Jan 2019 21:28:45 +1300 Subject: simplified sidebar --- layouts/_default/list.html | 4 ---- layouts/partials/sidebar-about-me.html | 5 ----- layouts/partials/sidebar-no-about.html | 23 ----------------------- layouts/partials/sidebar.html | 12 ++++++++++-- 4 files changed, 10 insertions(+), 34 deletions(-) delete mode 100644 layouts/partials/sidebar-about-me.html delete mode 100644 layouts/partials/sidebar-no-about.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8883086..7eb6a73 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -93,11 +93,7 @@ {{ template "_internal/pagination.html" . }} - {{ if .IsHome }} - {{ partial "sidebar-no-about" . }} - {{ else }} {{ partial "sidebar" . }} - {{ end }} {{ end }} diff --git a/layouts/partials/sidebar-about-me.html b/layouts/partials/sidebar-about-me.html deleted file mode 100644 index 957d790..0000000 --- a/layouts/partials/sidebar-about-me.html +++ /dev/null @@ -1,5 +0,0 @@ -

{{ .Site.Params.Author }}

-
- {{ .Site.Params.IntroDescription }} -
-Read More... \ No newline at end of file diff --git a/layouts/partials/sidebar-no-about.html b/layouts/partials/sidebar-no-about.html deleted file mode 100644 index 3e911cd..0000000 --- a/layouts/partials/sidebar-no-about.html +++ /dev/null @@ -1,23 +0,0 @@ - \ No newline at end of file diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index a3d3683..6c86850 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,6 +1,14 @@