From 63adca9fea86f26da638ada6702962129ae3b82e Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sat, 27 Jul 2024 14:48:24 -0400 Subject: [PATCH] support icons, improve feed --- layouts/partials/post.html | 35 ++++++++++++++++++++++------------ static/css/feed.xsl | 9 +++++---- static/css/theme.css | 39 +++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 25 deletions(-) diff --git a/layouts/partials/post.html b/layouts/partials/post.html index 25b1cc5..cf48e19 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -1,18 +1,29 @@
- -

{{.Title}}

-
-

{{if .Date}}{{.Date | time.Format "Jan 02 2006"}}{{end}}

- {{ if .Params.description}} -

{{.Params.description}}

+ {{if .Params.icon }} + + {{else}} + {{end}} +
+ +

{{.Title}}

+
+ {{ if .Params.description}} +

{{.Params.description}}

+ {{end}} +

{{if .Date}}{{.Date | time.Format "Jan 02 2006"}}{{end}}

+ +
+
+

{{.Summary}}

{{ if .GetTerms "tags" }} - - {{end}}
\ No newline at end of file diff --git a/static/css/feed.xsl b/static/css/feed.xsl index 52bff0d..6378530 100644 --- a/static/css/feed.xsl +++ b/static/css/feed.xsl @@ -50,16 +50,17 @@

Posts:

-