Skip to content

Simplify how site data is passed to pages #155

Open

Description

@gakimball

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.

Activity

  1. added this to the v2.0 milestone on Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions