aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-06-16 11:41:34 +0300
committerGitHub <noreply@github.com>2020-06-16 11:41:34 +0300
commit0f85e0fb091ec689c701955394389700ad1c555d (patch)
tree977274a3c621d8c664190a7e5ef8b5042f204094
parent51c325e233fdb6b79126460172bec148c63e16e3 (diff)
parentb34c1fb716f5e44e475668758374ed9c0b5dada8 (diff)
Bugfix #116 from benoit74/issue_115_affected_trailing_slash
-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>