Blame


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