NEW: add json api style return to show number of moments in a certain section.

This commit is contained in:
FarseaSH 2024-06-23 21:30:21 +08:00
parent 311fcb2a6f
commit 6c14c1355f

View file

@ -0,0 +1,4 @@
{
"sectionName": "{{ default "index" .Section }}",
"momentCount": {{ len .Site.RegularPages }}
}