From cbaaad38c9e3775a60ac1a2868706cfa784b307f Mon Sep 17 00:00:00 2001
From: Brian Picciano
Date: Wed, 23 Nov 2022 18:53:40 +0100
Subject: Use unordered list instead of table on post index
---
src/http/static/mediocre.css | 4 ++++
src/http/tpl/index.html | 32 +++++++++++---------------------
2 files changed, 15 insertions(+), 21 deletions(-)
(limited to 'src/http')
diff --git a/src/http/static/mediocre.css b/src/http/static/mediocre.css
index f588fa1..0187543 100644
--- a/src/http/static/mediocre.css
+++ b/src/http/static/mediocre.css
@@ -89,6 +89,10 @@ ul {
list-style: circle;
}
+ul li {
+ margin-bottom: 1rem;
+}
+
hr {
margin: 2rem 0 2rem 0;
border-color: var(--nc-bg-3);
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html
index 224c6d9..c1aa1f4 100644
--- a/src/http/tpl/index.html
+++ b/src/http/tpl/index.html
@@ -11,28 +11,18 @@
{{ end }}
-
-
-
-
-
-
-
-
- {{ range .Payload.Posts }}
-
- {{ DateTimeFormat .PublishedAt }} |
- {{ .Title }} |
- {{ .Description }} |
-
- {{ end }}
-
-
- {{ if ge .Payload.NextPage 0 }}
-
- Next Page > >
-
+
{{ end }}
--
cgit v1.2.3