diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2020-06-16 11:41:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 11:41:34 +0300 |
commit | 0f85e0fb091ec689c701955394389700ad1c555d (patch) | |
tree | 977274a3c621d8c664190a7e5ef8b5042f204094 /layouts/partials/index | |
parent | 51c325e233fdb6b79126460172bec148c63e16e3 (diff) | |
parent | b34c1fb716f5e44e475668758374ed9c0b5dada8 (diff) |
Bugfix #116 from benoit74/issue_115_affected_trailing_slash
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> |