From 7106e86b0ec92f1b61dc51280da250b7a4ceb0ce Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Wed, 5 Apr 2023 15:26:26 +0200 Subject: [PATCH] author layout fixes (#222) --- layouts/author/list.html | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/layouts/author/list.html b/layouts/author/list.html index 0126fb0..021dcd0 100644 --- a/layouts/author/list.html +++ b/layouts/author/list.html @@ -6,22 +6,26 @@
{{ range .Pages }} -
-
- {{ if .Params.image }} - - {{ else if .Params.email }} - - {{ end }} +
+
+
+ {{ if .Params.image }} + + {{ else if .Params.email }} + + {{ end }}
-
- {{ .Title }} -

{{ .Summary | truncate 100 }}

-
-
- {{ i18n "read_more"}} +
+
+
{{ .Title }}
+

{{ .Summary }}

+ {{ i18n "read_more"}} +
+
{{ end }}
@@ -29,4 +33,4 @@
-{{ end }} +{{ end }} \ No newline at end of file