aboutsummaryrefslogtreecommitdiff
path: root/layouts/incident
diff options
context:
space:
mode:
authorMantas <mantasevilcinskas+git@gmail.com>2017-05-01 19:40:08 +0300
committerMantas <mantasevilcinskas+git@gmail.com>2017-05-01 19:40:08 +0300
commit9d6a10ffe260b36ef76a73e8d53c835e8d5562c6 (patch)
treed1d86fe338029c29c2e5b573ce343ab864d8acb6 /layouts/incident
Complete refactor: add beta of #2, fix #1
Diffstat (limited to 'layouts/incident')
-rw-r--r--layouts/incident/post.html8
-rw-r--r--layouts/incident/single.html13
2 files changed, 21 insertions, 0 deletions
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 @@
+<div class="article">
+ <h3>
+ <a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}[DRAFT]{{ end }}</a>
+ </h3>
+ <h4>Began on {{ .Date }} ({{ .ReadingTime }} min read)</h4>
+
+ {{ .Content }}
+</div>
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" . }}
+
+ <body>
+
+ <div class="contain">
+ <a href="{{ .Site.BaseURL }}">← Go back</a>
+
+ <br><br><hr>
+
+ {{ .Render "post"}}
+ </div>
+
+{{ partial "footer" . }}