Blob


1 {!
2 #include <stdlib.h>
4 #include "tmpl.h"
5 !}
7 {{ define base(struct template *tp, const char *title) }}
8 {! char *foo = NULL; !}
9 <!doctype html>
10 <html>
11 <head>
12 <title>{{ title }}</title>
13 </head>
14 <body> {! /* TODO: frobnicate this line! */ !}
15 <h1>{{ title }}</h1>
16 {{ " | " }}
17 {{ "other stuff" }}
18 </body>
19 </html>
20 {{ finally }}
21 {! free(foo); !}
22 {{ end }}