From c5e8614005ee6325d203fed8f4530912486444c1 Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Mon, 1 Jul 2024 11:59:20 -0400 Subject: [PATCH] simplify author page layout --- layouts/authors/list.html | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/layouts/authors/list.html b/layouts/authors/list.html index b0f461b..08bfb59 100644 --- a/layouts/authors/list.html +++ b/layouts/authors/list.html @@ -1,24 +1,18 @@ {{ define "main" }} -
-
- {{if not .IsHome }} +
-

{{ .Params.name }}

-

{{ .Params.bio }}

+ {{ with .Resources.GetMatch "avatar" }} + {{ .Params.alt }} + {{ end }} - Projects - | - {{ .Params.email}} +

{{ .Params.name }}

+

{{ .Params.bio }}

-
- {{ with .Resources.GetMatch "avatar" }} - {{ .Params.alt }} - {{ end }} + Projects + | + {{ .Params.email}} - {{ end }} - -
-
+