1
Fork 0

Add date to page list

This commit is contained in:
Jake Howard 2021-09-19 21:35:04 +01:00
parent 8d9f4950f9
commit b15e0835af
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,7 +1,7 @@
{{- $result := slice -}} {{- $result := slice -}}
{{- range .Site.RegularPages -}} {{- 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 -}} {{- $result = $result | append $data -}}
{{- end -}} {{- end -}}