From a2717c2d00c2176a5c6a9fb0a3fb3b47ffa397cd Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Mon, 27 Jan 2020 00:04:18 -0500 Subject: Getting uniform look across pages, hugo be weird --- layouts/_default/list.html | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ffe85da..249ea3d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,14 +1,25 @@ {{ partial "header.html" . }} -
- {{ if not .IsHome }} -

{{ .Title | markdownify }}

- {{ end }} - -
+
+
+
+
+
+ {{ if (gt .Params.date 0) }} {{ .Date.Format "January 2, 2006" }} {{ end }} {{ if (gt .Params.author 0) }} by {{ with .Params.author }} {{ . }} {{ end }} {{ end }} +
+
+
+

{{ .Title | markdownify }}

+
+
+
+
+
    + {{ range (where .Data.Pages "Section" "!=" "") }} +
  • {{ .Date.Format "Jan 2nd, 2006" }} + {{ .Title | markdownify }} +
  • + {{ end }} +
+
+
{{ partial "footer.html" . }} -- cgit v1.2.3