summaryrefslogtreecommitdiff
path: root/layouts/page.html
diff options
context:
space:
mode:
authorandre4ik3 <andre4ik3@fastmail.com>2025-08-18 17:42:27 +0000
committerandre4ik3 <andre4ik3@fastmail.com>2025-08-18 17:42:27 +0000
commitd9ff6edbfcdc408e23684c00df806eac72fd02b2 (patch)
tree45a8fe89aa4de37a2dab4b293330874e37907beb /layouts/page.html
Initial commit
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 }}
+