diff options
Diffstat (limited to 'layouts/partials/index')
-rw-r--r-- | layouts/partials/index/announcements.html | 4 | ||||
-rw-r--r-- | layouts/partials/index/components.html | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index 060c049..25a1719 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -11,7 +11,9 @@ <p><small> {{ range .Params.Affected }} - <a href="affected/{{ . | urlize }}/" class="tag no-underline">{{ . }}</a> + + <a href="{{ printf "/affected/%s/" (. | urlize) | relURL }}" class="tag no-underline">{{ . }}</a> + {{ end }} </small></p> diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html index ff5174f..82964fe 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="{{ printf "/affected/%s/" (.name | urlize) | relURL }}" class="no-underline"> {{ default .name .displayName }} </a> |