From 3208df6352c0e05208bce95f8d9e9f16769a57ed Mon Sep 17 00:00:00 2001 From: Mantas Date: Sat, 25 Nov 2017 12:05:33 +0200 Subject: cState goes stable 1.0; fix #4 & fix #5 --- layouts/issues/issue.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/issues/issue.html (limited to 'layouts/issues/issue.html') 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" }} + +
+ + {{ .Params.severity }} + +   + + {{ .Date.Format "January 02, 2006 at 3:04 PM" }} + +   + {{ if .Params.Resolved }} + + {{ end }} + + +

+ {{ .Title }} +

+ +
+ + {{ .Content }} +
-- cgit v1.2.3-70-g09d2