aboutsummaryrefslogtreecommitdiff
path: root/md
diff options
context:
space:
mode:
Diffstat (limited to 'md')
-rw-r--r--md/POST_TEMPLATE.tmpl.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/md/POST_TEMPLATE.tmpl.html b/md/POST_TEMPLATE.tmpl.html
index c1c1dbf..e70f2e1 100644
--- a/md/POST_TEMPLATE.tmpl.html
+++ b/md/POST_TEMPLATE.tmpl.html
@@ -1,11 +1,11 @@
-{{define "title"}}{{ .Title }}{{end}}
+{{define "title"}}{{range .Contents}}{{ .Title }}{{end}}{{end}}
{{define "description"}}$description${{end}}
{{define "keywords"}}$tags${{end}}
{{define "main"}}
<h1>$page$</h1>
<article class="postContent">
- <h2>{{ .Title }}</h2>
+ <h2>{{range .Contents}}{{ .Title }}{{end}}</h2>
$body$
<p>Uploaded: <time datetime="$date$">$date$</time></p>
<!--<div class="tags">