Add date to page list
This commit is contained in:
parent
8d9f4950f9
commit
b15e0835af
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue