aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/announcements.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/announcements.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/announcements.html')
-rw-r--r--layouts/partials/index/announcements.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html
index f8f7471..2bb7f08 100644
--- a/layouts/partials/index/announcements.html
+++ b/layouts/partials/index/announcements.html
@@ -16,7 +16,7 @@
<p><small>
{{ range .Params.Affected }}
- <a href="{{ printf "/affected/%s/" (. | urlize) | relURL }}" class="tag no-underline">{{ . }}</a>
+ <a href="{{ printf "affected/%s/" (. | urlize) | relURL }}" class="tag no-underline">{{ . }}</a>
{{ end }}
</small></p>
@@ -37,7 +37,7 @@
<p><small>
{{ range .Params.Affected }}
- <a href="{{ printf "/affected/%s/" (. | urlize) | relURL }}" class="tag no-underline">{{ . }}</a>
+ <a href="{{ printf "affected/%s/" (. | urlize) | relURL }}" class="tag no-underline">{{ . }}</a>
{{ end }}
</small></p>