From f12d854fcf5e46fe526a92a316b2c6ec118fcea3 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 20 Jan 2019 12:35:37 +0100 Subject: Replace fcgi with plain http server --- htdocs/template/article.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 htdocs/template/article.tmpl (limited to 'htdocs/template/article.tmpl') diff --git a/htdocs/template/article.tmpl b/htdocs/template/article.tmpl new file mode 100644 index 0000000..e461ce2 --- /dev/null +++ b/htdocs/template/article.tmpl @@ -0,0 +1,15 @@ +{{/* This file is combined with the root.tmpl to display a single article. */}} + +{{define "title"}}{{.Doc.Title}}{{end}} + +{{define "content"}} + {{with .Doc}} + {{template "doc" .}} + {{with .Related}} +
Related articles
+ + {{end}} + {{end}} +{{end}} -- cgit v1.2.3