aboutsummaryrefslogtreecommitdiff
path: root/md/POST_TEMPLATE.tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'md/POST_TEMPLATE.tmpl.html')
-rw-r--r--md/POST_TEMPLATE.tmpl.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/md/POST_TEMPLATE.tmpl.html b/md/POST_TEMPLATE.tmpl.html
new file mode 100644
index 0000000..c1c1dbf
--- /dev/null
+++ b/md/POST_TEMPLATE.tmpl.html
@@ -0,0 +1,20 @@
+{{define "title"}}{{ .Title }}{{end}}
+{{define "description"}}$description${{end}}
+{{define "keywords"}}$tags${{end}}
+
+{{define "main"}}
+<h1>$page$</h1>
+<article class="postContent">
+ <h2>{{ .Title }}</h2>
+ $body$
+ <p>Uploaded: <time datetime="$date$">$date$</time></p>
+ <!--<div class="tags">
+ <h4>tags:</h4>
+ <nav>
+ {{ range .Tags }}
+ <a href="/tags/{{ . }}">{{ . }}</a> <span>ยท</span>
+ {{ end }}
+ </nav>
+ </div>-->
+</article>
+{{end}}