├── .babelrc ├── .coveralls.yml ├── .github ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .travis.yml ├── LICENSE ├── bin └── panini.js ├── helpers ├── code.js ├── ifEqual.js ├── ifPage.js ├── markdown.js ├── repeat.js └── unlessPage.js ├── index.js ├── lib ├── helpMessage.js ├── loadBuiltinHelpers.js ├── loadData.js ├── loadHelpers.js ├── loadLayouts.js ├── loadPartials.js ├── processRoot.js ├── refresh.js ├── render.js └── utils.js ├── package.json ├── readme.md ├── test ├── fixtures │ ├── basic │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── data-array │ │ ├── build │ │ │ └── index.html │ │ ├── data-extra │ │ │ └── lunch.json │ │ ├── data │ │ │ └── breakfast.json │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── data-js │ │ ├── build │ │ │ └── index.html │ │ ├── data │ │ │ └── breakfast.js │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── data-json │ │ ├── build │ │ │ └── index.html │ │ ├── data │ │ │ └── subfolder │ │ │ │ └── breakfast.json │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── data-page │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ ├── pages │ │ │ └── index.html │ │ └── partials │ │ │ └── partial.html │ ├── data-yaml │ │ ├── build │ │ │ └── index.html │ │ ├── data │ │ │ └── breakfast.yml │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── helper-code │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── helper-ifequal │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── helper-ifpage │ │ ├── build │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── expected │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ ├── about.html │ │ │ └── index.html │ ├── helper-markdown │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── helper-repeat │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── helper-unlesspage │ │ ├── build │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── expected │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ ├── about.html │ │ │ └── index.html │ ├── helpers │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── helpers │ │ │ └── helper.js │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── layouts │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ ├── alternate.html │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── page-layouts │ │ ├── build │ │ │ ├── alternate │ │ │ │ └── index.html │ │ │ └── index.html │ │ ├── expected │ │ │ ├── alternate │ │ │ │ └── index.html │ │ │ └── index.html │ │ ├── layouts │ │ │ ├── alternate.html │ │ │ └── default.html │ │ └── pages │ │ │ ├── alternate │ │ │ └── index.html │ │ │ └── index.html │ ├── partials │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ ├── pages │ │ │ └── index.html │ │ └── partials │ │ │ └── partial.html │ ├── variable-layout │ │ ├── build │ │ │ └── index.html │ │ ├── expected │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ └── index.html │ ├── variable-page │ │ ├── build │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── expected │ │ │ ├── about.html │ │ │ └── index.html │ │ ├── layouts │ │ │ └── default.html │ │ └── pages │ │ │ ├── about.html │ │ │ └── index.html │ └── variable-root │ │ ├── build │ │ ├── index.html │ │ └── subfolder │ │ │ └── index.html │ │ ├── expected │ │ ├── index.html │ │ └── subfolder │ │ │ └── index.html │ │ ├── layouts │ │ └── default.html │ │ ├── pages │ │ ├── index.html │ │ └── subfolder │ │ │ └── index.html │ │ └── partials │ │ └── partial.html └── test.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | presets: ['es2015'] 3 | } 4 | -------------------------------------------------------------------------------- /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-ci 2 | repo_token: dJ6YsPIoRAH8Wk2heBBXNj99LRLy8iJXC 3 | 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/LICENSE -------------------------------------------------------------------------------- /bin/panini.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/bin/panini.js -------------------------------------------------------------------------------- /helpers/code.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/code.js -------------------------------------------------------------------------------- /helpers/ifEqual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/ifEqual.js -------------------------------------------------------------------------------- /helpers/ifPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/ifPage.js -------------------------------------------------------------------------------- /helpers/markdown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/markdown.js -------------------------------------------------------------------------------- /helpers/repeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/repeat.js -------------------------------------------------------------------------------- /helpers/unlessPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/helpers/unlessPage.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/index.js -------------------------------------------------------------------------------- /lib/helpMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/helpMessage.js -------------------------------------------------------------------------------- /lib/loadBuiltinHelpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/loadBuiltinHelpers.js -------------------------------------------------------------------------------- /lib/loadData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/loadData.js -------------------------------------------------------------------------------- /lib/loadHelpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/loadHelpers.js -------------------------------------------------------------------------------- /lib/loadLayouts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/loadLayouts.js -------------------------------------------------------------------------------- /lib/loadPartials.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/loadPartials.js -------------------------------------------------------------------------------- /lib/processRoot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/processRoot.js -------------------------------------------------------------------------------- /lib/refresh.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/refresh.js -------------------------------------------------------------------------------- /lib/render.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/render.js -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/readme.md -------------------------------------------------------------------------------- /test/fixtures/basic/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/basic/build/index.html -------------------------------------------------------------------------------- /test/fixtures/basic/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/basic/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/basic/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/basic/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/basic/pages/index.html: -------------------------------------------------------------------------------- 1 |

Body

2 | -------------------------------------------------------------------------------- /test/fixtures/data-array/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/build/index.html -------------------------------------------------------------------------------- /test/fixtures/data-array/data-extra/lunch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/data-extra/lunch.json -------------------------------------------------------------------------------- /test/fixtures/data-array/data/breakfast.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/data/breakfast.json -------------------------------------------------------------------------------- /test/fixtures/data-array/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/data-array/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/data-array/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-array/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/data-js/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-js/build/index.html -------------------------------------------------------------------------------- /test/fixtures/data-js/data/breakfast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-js/data/breakfast.js -------------------------------------------------------------------------------- /test/fixtures/data-js/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-js/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/data-js/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-js/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/data-js/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-js/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/data-json/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-json/build/index.html -------------------------------------------------------------------------------- /test/fixtures/data-json/data/subfolder/breakfast.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-json/data/subfolder/breakfast.json -------------------------------------------------------------------------------- /test/fixtures/data-json/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-json/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/data-json/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-json/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/data-json/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-json/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/data-page/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-page/build/index.html -------------------------------------------------------------------------------- /test/fixtures/data-page/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-page/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/data-page/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-page/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/data-page/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-page/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/data-page/partials/partial.html: -------------------------------------------------------------------------------- 1 | Partial: {{kittens}} 2 | -------------------------------------------------------------------------------- /test/fixtures/data-yaml/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-yaml/build/index.html -------------------------------------------------------------------------------- /test/fixtures/data-yaml/data/breakfast.yml: -------------------------------------------------------------------------------- 1 | - eggs 2 | - bacon 3 | - toast 4 | -------------------------------------------------------------------------------- /test/fixtures/data-yaml/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-yaml/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/data-yaml/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-yaml/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/data-yaml/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/data-yaml/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-code/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-code/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-code/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-code/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-code/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-code/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-code/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-code/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifequal/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifequal/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifequal/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifequal/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifequal/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifequal/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifequal/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifequal/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/build/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifpage/build/about.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifpage/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/expected/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifpage/expected/about.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifpage/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-ifpage/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/pages/about.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/helper-ifpage/pages/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/helper-markdown/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-markdown/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-markdown/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-markdown/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-markdown/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-markdown/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-markdown/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-markdown/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-repeat/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-repeat/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-repeat/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-repeat/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-repeat/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-repeat/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-repeat/pages/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-repeat/pages/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/build/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-unlesspage/build/about.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-unlesspage/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/expected/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-unlesspage/expected/about.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-unlesspage/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helper-unlesspage/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/pages/about.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/helper-unlesspage/pages/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/helpers/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helpers/build/index.html -------------------------------------------------------------------------------- /test/fixtures/helpers/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helpers/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/helpers/helpers/helper.js: -------------------------------------------------------------------------------- 1 | module.exports = function() { 2 | return 'Helper!'; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/helpers/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/helpers/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/helpers/pages/index.html: -------------------------------------------------------------------------------- 1 | {{helper}} 2 | -------------------------------------------------------------------------------- /test/fixtures/layouts/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/layouts/build/index.html -------------------------------------------------------------------------------- /test/fixtures/layouts/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/layouts/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/layouts/layouts/alternate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/layouts/layouts/alternate.html -------------------------------------------------------------------------------- /test/fixtures/layouts/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/layouts/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/layouts/pages/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: alternate 3 | --- 4 |

Body

5 | -------------------------------------------------------------------------------- /test/fixtures/page-layouts/build/alternate/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/build/alternate/index.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/build/index.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/expected/alternate/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/expected/alternate/index.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/layouts/alternate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/layouts/alternate.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/page-layouts/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/page-layouts/pages/alternate/index.html: -------------------------------------------------------------------------------- 1 |

Body

2 | -------------------------------------------------------------------------------- /test/fixtures/page-layouts/pages/index.html: -------------------------------------------------------------------------------- 1 |

Body

2 | -------------------------------------------------------------------------------- /test/fixtures/partials/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/partials/build/index.html -------------------------------------------------------------------------------- /test/fixtures/partials/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/partials/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/partials/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/partials/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/partials/pages/index.html: -------------------------------------------------------------------------------- 1 |

Body

2 | {{> partial}} 3 | -------------------------------------------------------------------------------- /test/fixtures/partials/partials/partial.html: -------------------------------------------------------------------------------- 1 |

Partial!

2 | -------------------------------------------------------------------------------- /test/fixtures/variable-layout/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-layout/build/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-layout/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-layout/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-layout/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-layout/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/variable-layout/pages/index.html: -------------------------------------------------------------------------------- 1 | {{layout}} 2 | -------------------------------------------------------------------------------- /test/fixtures/variable-page/build/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-page/build/about.html -------------------------------------------------------------------------------- /test/fixtures/variable-page/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-page/build/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-page/expected/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-page/expected/about.html -------------------------------------------------------------------------------- /test/fixtures/variable-page/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-page/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-page/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-page/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/variable-page/pages/about.html: -------------------------------------------------------------------------------- 1 | {{page}} 2 | -------------------------------------------------------------------------------- /test/fixtures/variable-page/pages/index.html: -------------------------------------------------------------------------------- 1 | {{page}} 2 | -------------------------------------------------------------------------------- /test/fixtures/variable-root/build/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-root/build/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-root/build/subfolder/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-root/build/subfolder/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-root/expected/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-root/expected/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-root/expected/subfolder/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-root/expected/subfolder/index.html -------------------------------------------------------------------------------- /test/fixtures/variable-root/layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/fixtures/variable-root/layouts/default.html -------------------------------------------------------------------------------- /test/fixtures/variable-root/pages/index.html: -------------------------------------------------------------------------------- 1 | 2 | {{> partial}} 3 | -------------------------------------------------------------------------------- /test/fixtures/variable-root/pages/subfolder/index.html: -------------------------------------------------------------------------------- 1 | 2 | {{> partial}} 3 | -------------------------------------------------------------------------------- /test/fixtures/variable-root/partials/partial.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/test/test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundation/panini/HEAD/yarn.lock --------------------------------------------------------------------------------