From 8f060fcd9d2601735bd5ec9ae56b10f53888bb99 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Sep 2022 15:34:02 -0400 Subject: [PATCH] cosmetic changes --- layouts/_default/list.html | 4 ++-- layouts/index.html | 6 +++--- layouts/partials/sidebar.html | 39 ++++++++++++++++++---------------- layouts/shortcodes/video.html | 2 +- static/css/theme.css | 40 +++++++++++++++++------------------ 5 files changed, 47 insertions(+), 44 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a35fd3d..d567336 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,7 +13,7 @@ {{end}} {{ if .Pages }} -
+
{{range .Pages}}
@@ -33,7 +33,7 @@
{{end}} -
+ {{end}} diff --git a/layouts/index.html b/layouts/index.html index 3a1cf64..e5df978 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{partial "header" .}}
-
+
{{.Content}}
@@ -28,9 +28,9 @@ {{end}}
- +
{{ partial "footer" .}} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 2975da8..e832f9b 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,23 +1,7 @@ -{{if .Site.Data.details.featured}} -

Featured

-{{ range .Site.Data.details.featured}} - -{{end}} -{{end}} -
+

Recent Content

-{{range first 5 .Site.RegularPages}} +{{range first 3 .Site.RegularPages}}
@@ -35,3 +19,22 @@
{{end}} + +
+ +{{if .Site.Data.details.featured}} +

Featured

+{{ range .Site.Data.details.featured}} +
+{{end}} +{{end}} \ No newline at end of file diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index ebd091b..5dbbd4c 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,3 +1,3 @@ -