From b15e0835af1fcad301d53a4c1506d397f2e1c2b6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 19 Sep 2021 21:35:04 +0100 Subject: [PATCH] Add date to page list --- layouts/index.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.json b/layouts/index.json index c3346bd..e80d70d 100644 --- a/layouts/index.json +++ b/layouts/index.json @@ -1,7 +1,7 @@ {{- $result := slice -}} {{- range .Site.RegularPages -}} - {{- $data := dict "title" .Title "id" .File.UniqueID "url" .Permalink "path" .RelPermalink "section" .Section -}} + {{- $data := dict "title" .Title "url" .Permalink "date" .Date -}} {{- $result = $result | append $data -}} {{- end -}}