Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.json')
-rw-r--r--layouts/index.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.json b/layouts/index.json
index 2364d42..095575e 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -1,12 +1,12 @@
-[
+{ "items": [
{{- range $index, $page :=.Site.RegularPages -}}
{{- $months := index .Site.Data (i18n "months") -}}
{{- $month := index $months (printf "%d" .PublishDate.Month) -}}
{{- if ne $index 0 -}},{{- end -}}
{
- 'title': '{{ .Title }}',
- 'link': '{{ .Permalink }}',
- 'date': '{{ i18n "published" (dict "Day" .PublishDate.Day "Month" $month "Year" .PublishDate.Year) }}'
+ "title": "{{ .Title }}",
+ "url": "{{ .Permalink }}",
+ "date": "{{ i18n "published" (dict "Day" .PublishDate.Day "Month" $month "Year" .PublishDate.Year) }}"
}
{{- end -}}
-] \ No newline at end of file
+]} \ No newline at end of file