diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 5d48d3c..1105318 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,10 +1,31 @@
{{ define "main" }}
{{ .Title }}
+
+ {{- with .Params.authors }}
+ {{- $author := (index . 0) }}
+
+ {{- end }}
+
+ {{- if (not .Params.hideDate) }}
+ {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
+ {{- $dateHuman := .Date | time.Format "Mon | Jan 2, 2006" }}
+ Posted:
+ {{- end }}
+
+ {{- range (.GetTerms "tags") }}
+ {{ .LinkTitle }}
+ {{- end }}
+
+ {{- partial "image.html"
+ (dict
+ "image" (.Resources.GetMatch "featured")
+ "alt" .Params.featured.alt
+ "sizes" (slice 320 480 600 800)
+ "classes" (slice "shadow" "featured")) }}
{{ .Content }}
-
- {{ range .Pages }}
-
- {{ .Summary }}
- {{ end }}
+
+ {{- range .Data.Pages }}
+ {{ partial "article.html" . }}
+ {{- end }}
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 51c6e2f..c01cd07 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,17 +1,22 @@
{{ define "main" }}
{{ .Title }}
- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
- {{ $dateHuman := .Date | time.Format "Mon | Jan 2, 2006" }}
-
{{ with .Params.authors }}
{{ $author := (index . 0) }}
{{ end }}
+ {{- if (not .Params.hideDate) }}
+ {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
+ {{- $dateHuman := .Date | time.Format "Mon | Jan 2, 2006" }}
Posted:
+ {{- end }}
+
+ {{- range (.GetTerms "tags") }}
+ {{ .LinkTitle }}
+ {{- end }}
- {{ partial "image.html"
+ {{- partial "image.html"
(dict
"image" (.Resources.GetMatch "featured")
"alt" .Params.featured.alt