Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSimplify how site data is passed to pages #155
Comments
gakimball
added this to the v2.0 milestone
Feb 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gakimball commentedFeb 10, 2018
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.