paulshryock / eleventy-page-data

This is a working example of how to access directory specific data from a template in that directory when using Eleventy.

Home Page:https://github.com/11ty/eleventy/issues/385

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eleventy Page Data

This is a working example of how to access directory specific data from a template in that directory when using Eleventy.

Requirements

  1. Node
    • Check if Node is installed: node --version
    • If you see a version number, such as v11.6.0, proceed to Quick Start
    • If Node isn't installed, download and install it

Quick Start

  1. Run git clone https://github.com/paulshryock/eleventy-page-data && cd eleventy-page-data && npm install && npm run-script development
  2. Go to http://localhost:8080

Contributing

If you'd like to contribute, please read the Code of Conduct, then fork the repository and use a feature branch. Pull requests are welcome.

About

This is a working example of how to access directory specific data from a template in that directory when using Eleventy.

https://github.com/11ty/eleventy/issues/385

License:GNU General Public License v3.0


Languages

Language:Liquid 56.8%Language:JavaScript 29.3%Language:CSS 13.9%