nikku / kartoffeldruck

A all-in-one, opinionated, swiss army knife, hackable static site generator.
Other
6 stars 1 forks source link

Macro support (#3) and improved nunjucks processing #5

Closed jrehwaldt closed 8 years ago

jrehwaldt commented 8 years ago

This pull request changes the template/content processing to enable macro support (#3). The following workflow is implemented:

  1. combine page with or without layout (property given or not)
  2. mark the content
  3. template processing
  4. extract content, process it with markdown, and add it back without marker

Additionally, it enforces LF checkout for the folders example/** as well as test/fixtures/** in order to guarantee test success on Windows machines.

Inclusion support implemented in an earlier commit from the branch this is based on was dropped.

nikku commented 8 years ago

Merged via 23f98f75aef529a1842bb2dfa9bac9a5d737c574