aboutsummaryrefslogtreecommitdiff
path: root/tmpl/doc
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-16 18:43:22 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-16 18:43:22 +0100
commit8bf5d9d2c82560c81be6809522215bded0cf9911 (patch)
tree82df16f1e2b3d130b63a910df55e22a124d56c5b /tmpl/doc
Inital import
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}}