aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/components.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-10-29 15:09:08 +0300
committerGitHub <noreply@github.com>2022-10-29 15:09:08 +0300
commiteadc507a96d77b3995ac7d78f78e83eb1491ecb9 (patch)
tree91c350c70927665c82f644a3b8595da7ea7c9df8 /layouts/partials/index/components.html
parent8af8ff5df208ca77642f5a119a11301605b1ffc1 (diff)
parent0727f66268e40fdd60f9891f420a1d0a145aa6ec (diff)
Fix affected links in subdir to work with Hugo v0.101+ #252 from zeeZ/fix-relurl
Fix affected links in subdir to work with Hugo v0.101+
Diffstat (limited to 'layouts/partials/index/components.html')
-rw-r--r--layouts/partials/index/components.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html
index e3a0d89..f9937f2 100644
--- a/layouts/partials/index/components.html
+++ b/layouts/partials/index/components.html
@@ -51,7 +51,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="{{ printf "/affected/%s/" ($system.name | urlize) | relURL }}" class="no-underline">
+ <a href="{{ printf "affected/%s/" ($system.name | urlize) | relURL }}" class="no-underline">
{{ default $system.name $system.displayName }}
</a>