From 19f38068039dc7e6e8c3d9b2923fd96aa96a9f44 Mon Sep 17 00:00:00 2001 From: tsmitty11 Date: Thu, 18 May 2023 17:08:07 +0200 Subject: [PATCH] Styling & content --- src/layouts/_default/list.html | 165 +++++++++++++++++------------- src/layouts/_default/single.html | 4 + src/layouts/partials/sidebar.html | 8 ++ 3 files changed, 107 insertions(+), 70 deletions(-) diff --git a/src/layouts/_default/list.html b/src/layouts/_default/list.html index 214c2c6..3534e0a 100644 --- a/src/layouts/_default/list.html +++ b/src/layouts/_default/list.html @@ -7,90 +7,115 @@ {{ partial "navbar.html" . }} -
-
-
-
-
-

{{ .Title }}

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-
-
-
-
+
+
+
-
-

Recent Posts

-
- {{ range .Pages }} -
- -
- {{ if .Params.featured_image }} - - {{ end }} -
-

{{ .Title }}

- Published: {{ .Date.Format "02/01/2006" }}
- Categories: {{ range .Params.categories }}{{ . }}, {{ end }} - {{ .Content }} -
-
- -
- {{ end }} -
+
+

{{ .Title }}

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

- - {{ partial "sidebar" . }} -
-
-
- {{- partial "footer-content.html" . -}} - {{- partial "footer.html" . -}} -
+ +
+
+
+
+

Recent Posts

+
+ {{ range .Pages }} +
+ +
+ {{ if .Params.featured_image }} + + {{ end }} +
+

{{ .Title }}

+ Published: {{ .Date.Format "02/01/2006" }}
+ Categories: {{ range .Params.categories }}{{ . }}, {{ end }} + {{ trim .Summary 5 | plainify }} + Read More +
+
+ +
+ {{ end }} +
+
+ + {{ partial "sidebar" . }} + +
+
+
+ diff --git a/src/layouts/partials/sidebar.html b/src/layouts/partials/sidebar.html index cfed83e..af0b4f0 100644 --- a/src/layouts/partials/sidebar.html +++ b/src/layouts/partials/sidebar.html @@ -35,4 +35,12 @@ line-height:12px; } + .sidebar-list a{ + color: #fff; + } + + .sidebar-list a:hover{ + color: #00ffd0; + } +