aboutsummaryrefslogtreecommitdiff
path: root/tmpl/doc
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/doc')
-rw-r--r--tmpl/doc23
1 files changed, 23 insertions, 0 deletions
diff --git a/tmpl/doc b/tmpl/doc
new file mode 100644
index 0000000..f4f1dd3
--- /dev/null
+++ b/tmpl/doc
@@ -0,0 +1,23 @@
+{{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}}