From 8dd25fab185f5e1d7dc2db10a833b4977f801cd5 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Sun, 27 Jan 2019 10:43:29 +0200 Subject: Fixing a11y, colors, UX, minor cleanup --- layouts/partials/index/announcements.html | 18 ++++++++++++++---- layouts/partials/index/components.html | 6 +++--- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'layouts/partials/index') diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index a02045e..0be3835 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -2,13 +2,23 @@ {{ $active := where $incidents "Params.resolved" "=" false }} {{ if $active }} -
{{ .Title }}
++ {{ .Title }} → +
+ ++ {{ range .Params.Affected }} + {{ . }} + {{ end }} +
+ {{ .Content | safeHTML | truncate 500 "…" }} - +