diff options
Diffstat (limited to 'files/post.html')
| -rw-r--r-- | files/post.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/post.html b/files/post.html new file mode 100644 index 0000000..28ffad2 --- /dev/null +++ b/files/post.html @@ -0,0 +1,14 @@ +{{ template "base.html" . }} + +{{ define "title" }}{{ .Page.Title }}{{ end }} +{{ define "description" }}{{ .Page.Summary }}{{ end }} + +{{ define "content" }} +<div> + <h1>{{ .Page.Title }}</h1> + <p>{{ .Page.Created.Format "Jan 2, 2006" }}</p> + <div> + {{ .Page.HTML }} + </div> +</div> +{{ end }} |
