From 9d6a10ffe260b36ef76a73e8d53c835e8d5562c6 Mon Sep 17 00:00:00 2001 From: Mantas Date: Mon, 1 May 2017 19:40:08 +0300 Subject: Complete refactor: add beta of #2, fix #1 --- layouts/incident/post.html | 8 ++++++++ layouts/incident/single.html | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 layouts/incident/post.html create mode 100644 layouts/incident/single.html (limited to 'layouts/incident') diff --git a/layouts/incident/post.html b/layouts/incident/post.html new file mode 100644 index 0000000..593481a --- /dev/null +++ b/layouts/incident/post.html @@ -0,0 +1,8 @@ +
+

+ {{ .Title }} {{ if .Draft }}[DRAFT]{{ end }} +

+

Began on {{ .Date }} ({{ .ReadingTime }} min read)

+ + {{ .Content }} +
diff --git a/layouts/incident/single.html b/layouts/incident/single.html new file mode 100644 index 0000000..92ead19 --- /dev/null +++ b/layouts/incident/single.html @@ -0,0 +1,13 @@ +{{ partial "meta" . }} + + + +
+ ← Go back + +


+ + {{ .Render "post"}} +
+ +{{ partial "footer" . }} -- cgit v1.2.3-70-g09d2