Blame


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