From 8006b5328492c1209c8e5300c8282be0834c5a20 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Sun, 11 Apr 2021 16:11:09 +0200 Subject: [PATCH] 'SECTIONS' is now 'METASP' as it will carry more than just sections --- layouts/metadata/list.js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/metadata/list.js.js b/layouts/metadata/list.js.js index 2768a68..36f0227 100644 --- a/layouts/metadata/list.js.js +++ b/layouts/metadata/list.js.js @@ -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 }}