NEW: add json api style return to show number of moments in a certain section.
This commit is contained in:
parent
311fcb2a6f
commit
6c14c1355f
1 changed files with 4 additions and 0 deletions
4
layouts/_default/list.json.json
Normal file
4
layouts/_default/list.json.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"sectionName": "{{ default "index" .Section }}",
|
||||
"momentCount": {{ len .Site.RegularPages }}
|
||||
}
|
Loading…
Add table
Reference in a new issue