aboutsummaryrefslogtreecommitdiff
path: root/tmpl/doc
blob: 40ec1aa6acb2af369fb529710b82762d43133e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{{define "link"}}
	<a href="{{.}}">{{.}}</a>
{{end}}

{{define "img"}}
	<img src="{{.}}">
{{end}}

{{define "par"}}
	<p>{{.}}</p>
{{end}}

{{define "pre"}}
	<pre>{{.}}</pre>
{{end}}

{{define "list"}}
<ul>
	{{range .}}
	<li>{{.}}</li>
	{{end}}
</ul>
{{end}}

{{define "olist"}}
<ol>
	{{range .}}
	<li>{{.}}</li>
	{{end}}
</ol>
{{end}}