diff --git a/layouts/_default/list.html b/layouts/_default/list.html index cfc4140..a740bcf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,28 +4,42 @@

{{ .Title }}

- {{ range .Pages }} -
-
-

{{ if .Draft }}(Draft) {{ end }}{{ .Title }}

-
- {{ if eq .Date.IsZero false }} - - {{ end }} - {{ if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }} - (updated) - {{ end }} -
-
-
-

{{/* Spacing is weird if we don't include this */}} -

- {{ .Summary }} -

- {{ if .Truncated }} - Read More… + {{ if gt (len .Sections) 0 }} +

Categories

+ +

All Posts

+ {{ end }} + {{ $cs := .CurrentSection }} + {{ with $cs }} + {{ range (where .Site.RegularPages "Section" .Section) }} + {{ if .IsDescendant $cs }} +
+
+

{{ if .Draft }}(Draft) {{ end }}{{ .Title }}

+
+ {{ if eq .Date.IsZero false }} + + {{ end }} + {{ if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }} + (updated) {{ end }}
-
+
+
+

{{/* Spacing is weird if we don't include this */}} +

+ {{ .Summary }} +

+ {{ if .Truncated }} + Read More… + {{ end }} +
+
+ {{ end }} + {{ end }} {{ end }} {{ end }}