'SECTIONS' is now 'METASP' as it will carry more than just sections

This commit is contained in:
Marcell Mars 2021-04-11 16:11:09 +02:00
parent abcee4d0f5
commit 8006b53284

View file

@ -1 +1 @@
{{ define "main" }}SECTIONS=[{{ range .Site.Sections }}{"section": "{{ with .File }}{{ trim .Dir "/" }}{{ end }}", "items": [{{ range .Pages }}"{{ .File.BaseFileName }}", {{ end }}]}, {{ end }}];{{ end }}
{{ define "main" }}METASP=[{{ range .Site.Sections }}{"section": "{{ with .File }}{{ trim .Dir "/" }}{{ end }}", "items": [{{ range .Pages }}"{{ .File.BaseFileName }}", {{ end }}]}, {{ end }}];{{ end }}