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