remove git-repository(5) format details from gotadmin cleanup docs
[got-portable.git] / regress / template / 06-escape.tmpl
blob8a1d436209ad2a5cd22583fbb5c7c5b8cf06fdd7
1 {!
2 #include <stdlib.h>
4 #include "tmpl.h"
6 int base(struct template *, const char *);
7 !}
9 {{ define base(struct template *tp, const char *title) }}
10 <!doctype html>
11 <html>
12         <head>
13                 <title>{{ title | urlescape }}</title>
14         </head>
15         <body>
16                 <h1>{{ title | unsafe }}</h1>
17         </body>
18 </html>
19 {{ end }}