aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/issue.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/issues/issue.html')
-rw-r--r--layouts/issues/issue.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html
new file mode 100644
index 0000000..9b63b78
--- /dev/null
+++ b/layouts/issues/issue.html
@@ -0,0 +1,29 @@
+{{ $incidents := where .Site.RegularPages "Params.section" "issue" }}
+{{ $active := where $incidents "Params.resolved" "=" false }}
+
+{{ $isNotice := where $active "Params.severity" "=" "notice" }}
+{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" }}
+{{ $isDown := where $active "Params.severity" "=" "down" }}
+
+<div class="article">
+ <span class="marker">
+ {{ .Params.severity }}
+ </span>
+ &nbsp;
+ <small class="date">
+ {{ .Date.Format "January 02, 2006 at 3:04 PM" }}
+ </small>
+ &nbsp;
+ {{ if .Params.Resolved }}
+ <span class="ok">✓</span>
+ {{ end }}
+
+
+ <h3>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </h3>
+
+ <hr>
+
+ {{ .Content }}
+</div>