aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBenoit BERAUD <bberaud@pictet.com>2020-06-15 11:56:39 +0200
committerBenoit BERAUD <bberaud@pictet.com>2020-06-15 21:34:11 +0200
commitb34c1fb716f5e44e475668758374ed9c0b5dada8 (patch)
tree977274a3c621d8c664190a7e5ef8b5042f204094 /layouts
parent51c325e233fdb6b79126460172bec148c63e16e3 (diff)
Append a trailing slash to all 'affected' URLs
Diffstat (limited to 'layouts')
-rw-r--r--layouts/issues/issue.html2
-rw-r--r--layouts/partials/index/announcements.html2
-rw-r--r--layouts/partials/index/components.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html
index 62f3ab3..6e00a22 100644
--- a/layouts/issues/issue.html
+++ b/layouts/issues/issue.html
@@ -20,7 +20,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/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>