From 220713697f3ae2a36b814b4b748c57580951dbd5 Mon Sep 17 00:00:00 2001 From: tsmitty11 Date: Thu, 18 May 2023 14:07:15 +0200 Subject: [PATCH] Formatting for single.html page --- src/layouts/_default/list.html | 21 ------------------ src/layouts/_default/single.html | 36 +++++++++++++++++++++++++------ src/layouts/partials/sidebar.html | 10 +++++++-- 3 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/layouts/_default/list.html b/src/layouts/_default/list.html index 0c16e5d..214c2c6 100644 --- a/src/layouts/_default/list.html +++ b/src/layouts/_default/list.html @@ -107,27 +107,6 @@ padding: 0.5em 0; } -input[type=text], input[type=email] { - width: 100%; - padding: 12px 20px; - margin: 8px 0; - box-sizing: border-box; -} - -input[type=submit] { - width: 100%; - background-color: #4CAF50; - color: white; - padding: 14px 20px; - margin: 8px 0; - border: none; - border-radius: 4px; - cursor: pointer; -} - -input[type=submit]:hover { - background-color: #45a049; -} diff --git a/src/layouts/_default/single.html b/src/layouts/_default/single.html index ad9070d..4a5582f 100644 --- a/src/layouts/_default/single.html +++ b/src/layouts/_default/single.html @@ -4,16 +4,21 @@ {{ partial "head.html" . }} - {{ partial "navbar.html" . }} + {{ partial "navbar.html" . }}
-
+
-
-

{{ .Title }}

-

{{ .Date.Format "2006-01-02" }}

- {{ .Content }} - Back to blog +
+
+

{{ .Title }}

+

{{ .Date.Format "2006-01-02" }}

+ {{ .Content }} + Back to blog +
+ + {{ partial "sidebar" . }} +
@@ -23,3 +28,20 @@ + + diff --git a/src/layouts/partials/sidebar.html b/src/layouts/partials/sidebar.html index 811b3d9..8a72062 100644 --- a/src/layouts/partials/sidebar.html +++ b/src/layouts/partials/sidebar.html @@ -14,8 +14,14 @@ {{ end }} -

follow me

-

Facebook | Twitter | Instagram

+

communi'tea

+
+ + + + + +

give a star

Star