A simple template framework written in pure CoffeeScript. Intended to be small and simple, not featureful.
Mud = require 'cup-of-mud'Mud ->@raw '<!DOCTYPE html>'@html ->@head ->@title 'Hello, world!'@body ->@p '''This is an example of theCup of Mud template framework.'''
Hello, world!This is an example of theCup of Mud template framework.
Every valid HTML5 tag should be usable within Cup of Mud, with the exception of
DOCTYPE and comment tags.
Tags that are defined as void by the spec will not print any body.
All normal tags (tags that are not void) are closed XHTML style, i.e.
<script></script> instead of