aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.yml2
-rw-r--r--layouts/_default/list.svg4
2 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 85de8ab..b270320 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -393,7 +393,6 @@ outputs:
- html
- json
- rss
- - svg
home:
- html
- json
@@ -403,6 +402,7 @@ outputs:
- html
- json
- rss
+ - svg
outputFormats:
svg:
diff --git a/layouts/_default/list.svg b/layouts/_default/list.svg
index dbd6483..73b480f 100644
--- a/layouts/_default/list.svg
+++ b/layouts/_default/list.svg
@@ -1,9 +1,9 @@
-{{ $incidents := where .Site.RegularPages "Params.section" "issue" -}}
+{{ $incidents := where .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" -}}
-{{ $shield_prefix := .Site.Title -}}
+{{ $shield_prefix := .Title -}}
{{ $status_text := T "thisIsOk" -}}
{{ $status_color := .Site.Params.ok -}}
{{ if $isDown -}}