1 {! #include <stdlib.h> !} 2 3 {{ define base(struct template *tp, const char *title) }} 4 <!doctype html> 5 <html> 6 <head> 7 <title>{{ title | urlescape }}</title> 8 </head> 9 <body> 10 <h1>{{ title | unsafe }}</h1> 11 {{ render tp->tp_body }} 12 </body> 13 </html> 14 {{ end }}