From 48fc714a7670791ec0169bf430bee7e5599a546d Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Wed, 14 Feb 2024 12:22:16 -0500 Subject: [PATCH] format author layout --- layouts/authors/list.html | 55 +++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/layouts/authors/list.html b/layouts/authors/list.html index 200f981..d3f0fac 100644 --- a/layouts/authors/list.html +++ b/layouts/authors/list.html @@ -1,25 +1,36 @@ {{ define "main" }} -
- {{if not .IsHome }} - - {{ end }} - {{ .Content }} -

Posts:

-
-
- {{ range .Data.Pages }} - {{ partial "article-card.html" . }} - {{ end }} -
+
+
+ {{if not .IsHome }} + +

{{ .Params.name }}

+

{{ .Params.bio }}

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

Posts:

+
+ +
+ {{ range .Data.Pages }} + {{ partial "article-card.html" . }} + {{ end }} +
+ {{ end }}