Blob


1 {! #include <stdlib.h> !}
3 {{ define base(struct template *tp, const char *title) }}
4 {! char *foo = NULL; !}
5 <!doctype html>
6 <html>
7 <head>
8 <title>{{ title }}</title>
9 </head>
10 <body>
11 <h1>{{ title }}</h1>
12 {{ render tp->tp_body }}
13 </body>
14 </html>
15 {{ finally }}
16 {! free(foo); !}
17 {{ end }}