From 2a89630a47358edd3351bd8ad90ab03bd507bd59 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 24 Nov 2018 15:14:43 +0100 Subject: Add simple blog rendering --- layouts/posts/single.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 layouts/posts/single.html (limited to 'layouts/posts/single.html') diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..f31b1a9 --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+
{{ .Date.Format "January 2, 2006" }}
+
+
+ {{- .Content -}} +
+
+{{ end }} \ No newline at end of file -- cgit v1.2.3