diff options
author | Benoit BERAUD <bberaud@pictet.com> | 2020-06-15 11:56:39 +0200 |
---|---|---|
committer | Benoit BERAUD <bberaud@pictet.com> | 2020-06-15 21:34:11 +0200 |
commit | b34c1fb716f5e44e475668758374ed9c0b5dada8 (patch) | |
tree | 977274a3c621d8c664190a7e5ef8b5042f204094 /layouts/partials/index | |
parent | 51c325e233fdb6b79126460172bec148c63e16e3 (diff) |
Append a trailing slash to all 'affected' URLs
Diffstat (limited to 'layouts/partials/index')
-rw-r--r-- | layouts/partials/index/announcements.html | 2 | ||||
-rw-r--r-- | layouts/partials/index/components.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index 0be3835..b629655 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -11,7 +11,7 @@ <p><small> {{ range .Params.Affected }} - <a href="/affected/{{ . | urlize }}" class="tag no-underline">{{ . }}</a> + <a href="/affected/{{ . | urlize }}/" class="tag no-underline">{{ . }}</a> {{ end }} </small></p> diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html index cc8834a..c45cee2 100644 --- a/layouts/partials/index/components.html +++ b/layouts/partials/index/components.html @@ -59,7 +59,7 @@ {{ $thisIsDown := where $activeComponentIssues "Params.severity" "=" "down" }} <div class="component" data-status="{{ if $thisIsDown }}down{{ else }}{{ if $thisIsDisrupted }}disrupted{{ else }}{{ if $thisIsNotice }}notice{{ else }}ok{{ end }}{{ end }}{{ end }}"> - <a href="/affected/{{ .name | urlize }}" class="no-underline"> + <a href="/affected/{{ .name | urlize }}/" class="no-underline"> {{ default .name .displayName }} </a> |