summaryrefslogtreecommitdiff
path: root/template/article.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/article.tmpl')
-rw-r--r--template/article.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/article.tmpl b/template/article.tmpl
new file mode 100644
index 0000000..eaa936a
--- /dev/null
+++ b/template/article.tmpl
@@ -0,0 +1,7 @@
+{{/* This file is combined with the root.tmpl to display a single article. */}}
+
+{{define "title"}}{{.Doc.Title}}{{end}}
+{{define "content"}}
+ {{template "doc" .Doc}}
+{{end}}
+