1
2
3
4
5
6
7
8
9
10
11
12
13
if (typeof templates === "undefined" || templates === null) templates = {};

templates.first = function() {
  doctype(5);
  return html(function() {
    head(function() {
      return title("" + this.title);
    });
    return body(function() {
      return h1("" + this.hello);
    });
  });
};