aboutsummaryrefslogtreecommitdiff
path: root/tmpl/doc
blob: b6b84aa1e82aa720ff467b243245770f180b5eae (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
32
33
34
35
{{define "heading"}}
	<h4>{{.}}</h4>
{{end}}

{{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}}