KWAND Stack Boilerplate

Hey congrats! Looks like you got your boilerplate working. Time to rip it up and customize the way you like. But first a few examples to get you started. For docs, news, and stuff try kwand.io.

Compile Time Locals

If you know Jade (and you should, it's really amazing) you know it allows you to include all sorts of stuff by passing in a locals parameter (variables, functions, etc.) We've consolidated this into the locals.js file, which gets executed once for all the jade page builds.

This let's us do things like

last-updated: May 25th 2014, 11:46:40 pm when the weather in Cornelius was 'few clouds' and 67.59 F

Posting Form Data

This form demonstrates how easy it is to post form data to KOA middleware components. See src/server/server.js to see what is going on.

Syntax Highlighting

Uses the amazing gulp-highlight to provide automatic highlight.js syntax.

var message = 'Nothing special';
console.log(message);

From Rob Muhlestein at SkilStak Coding Arts