From 625f5a5d19354ccbd6bddc794843858a24d66951 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 23 Apr 2017 12:05:02 +0100 Subject: [PATCH] Add list items to list page --- layouts/_default/list.html | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3a2e3e3..f22d53f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,14 +3,28 @@

{{ title .Title }}

- {{ if .Params.subtitle }} -

{{ .Params.subtitle }}

- {{ end }}
-
- - {{ .Content }} -
+ {{ if .Content }} +
+ {{ .Content }} +
+ {{ end }} +
+ {{ range .Pages.ByTitle }} +
+
+ {{ if .Params.image }} + {{ .Title }} featured image + {{ end }} +

{{ title .Title }}

+

{{ .Summary }}

+ +
+
+ {{ end }} +
{{ partial "page_end.html" . }}