diff options
author | Christian <zeezinator+github@gmail.com> | 2022-10-28 19:57:18 +0200 |
---|---|---|
committer | Christian <zeezinator+github@gmail.com> | 2022-10-28 19:57:18 +0200 |
commit | 0727f66268e40fdd60f9891f420a1d0a145aa6ec (patch) | |
tree | 91c350c70927665c82f644a3b8595da7ea7c9df8 /layouts/partials/index/components.html | |
parent | 8af8ff5df208ca77642f5a119a11301605b1ffc1 (diff) |
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.html | 2 |
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> |