'SECTIONS' is now 'METASP' as it will carry more than just sections
parent
abcee4d0f5
commit
8006b53284
@ -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 }}
|
||||
|
Loading…
Reference in New Issue