aboutsummaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..28ffad2
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,14 @@
1{{ template "base.html" . }}
2
3{{ define "title" }}{{ .Page.Title }}{{ end }}
4{{ define "description" }}{{ .Page.Summary }}{{ end }}
5
6{{ define "content" }}
7<div>
8 <h1>{{ .Page.Title }}</h1>
9 <p>{{ .Page.Created.Format "Jan 2, 2006" }}</p>
10 <div>
11 {{ .Page.HTML }}
12 </div>
13</div>
14{{ end }}