diff options
author | matsuyoshi <sfbgwm30@gmail.com> | 2021-10-23 16:43:03 +0300 |
---|---|---|
committer | matsuyoshi <sfbgwm30@gmail.com> | 2021-10-23 16:45:19 +0300 |
commit | 16b0a4e50730e93723589afc5963522138855110 (patch) | |
tree | 2ae3724a77b28911e807bd57f0bb474783d1fde2 | |
parent | d409ccb0cc1632b19ff8b13dc2026cc0167e600f (diff) |
Add id to list.json
-rw-r--r-- | layouts/_default/list.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/list.json b/layouts/_default/list.json index 65d080a..618a67a 100644 --- a/layouts/_default/list.json +++ b/layouts/_default/list.json @@ -3,6 +3,7 @@ {{ if eq .Type "post" }} {{ if ne $index 0 }},{{ end }} { + "id": $index, "ref": "{{ $page.Permalink }}", "title": {{ $page.Title | jsonify }}, "section": "{{ $page.Section }}", |