Every page gets a {{ pages }} variable, which is an array containing data on all pages. Each page is an array of the format [vinylFile, pageBody, pageData]. This should instead be an object with the format { body, data, file } to make access within templates more straightforward.
Every page gets a
{{ pages }}
variable, which is an array containing data on all pages. Each page is an array of the format[vinylFile, pageBody, pageData]
. This should instead be an object with the format{ body, data, file }
to make access within templates more straightforward.