Files to build a static site with CoffeeScript, Jade, Markdown and Stylus.
After changing any of the files listed below, you should run
npm run build-all
to compile the CSS, HTML and JS files.
Base template that all Jade templates build from.
Final template to build the page for the current folder.
CoffeeScript that is only run on the current page.
If there are functions that are shared between multiple pages, then they
should be in a file that is included in the parent _base.jade
.
Same as script.coffee.md
, this contains styles that are only used on
the current page.
All *.md
files are included in the appropriate place in index.jade
.
It is easier to write large blocks of text in Markdown that it is in Jade, but Jade offers more functionality, so it is used as a wrapper.