From 1c7b3a6352c15a1443692ddf1d1c45d431794e74 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 0126fb09..021dcd0d 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