repo.or.cz
/
got-portable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove git-repository(5) format details from gotadmin cleanup docs
[got-portable.git]
/
regress
/
template
/
06-escape.tmpl
blob
8a1d436209ad2a5cd22583fbb5c7c5b8cf06fdd7
1
{!
2
#include <stdlib.h>
3
4
#include "tmpl.h"
5
6
int base(struct template *, const char *);
7
!}
8
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 }}