summaryrefslogtreecommitdiff
path: root/layouts/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/page.html')
-rw-r--r--layouts/page.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/page.html b/layouts/page.html
new file mode 100644
index 0000000..3012822
--- /dev/null
+++ b/layouts/page.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ <a href="..">Back...</a>
+ <p>Published on {{ .PublishDate.UTC.Format "2006-01-02" }}</p>
+
+ <article>
+ {{ .Content }}
+ </article>
+{{ end }}
+