aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyusuke SUZUKI <ryusuke@FreeBSD.org>2021-02-24 12:00:35 +0000
committerRyusuke SUZUKI <ryusuke@FreeBSD.org>2021-02-24 12:00:35 +0000
commite68d8f44adbd4a34036c62b478e00f06dcd33634 (patch)
treef14ead6771de543a62137c3f5e587629d2c8ae9f
parent516370df6584390f8886526c148cc83437d07cad (diff)
downloaddoc-e68d8f44adbd4a34036c62b478e00f06dcd33634.tar.gz
doc-e68d8f44adbd4a34036c62b478e00f06dcd33634.zip
Fix broken links in security advisory RSS feed.
PR: 253768
-rw-r--r--website/themes/beastie/layouts/security/security.rss.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/website/themes/beastie/layouts/security/security.rss.xml b/website/themes/beastie/layouts/security/security.rss.xml
index 891170122d..0e0a9801f6 100644
--- a/website/themes/beastie/layouts/security/security.rss.xml
+++ b/website/themes/beastie/layouts/security/security.rss.xml
@@ -18,8 +18,8 @@
{{ if lt $securityCounter 10 }}
<item>
<title>{{ .name }}</title>
- <link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link>
- <guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid>
+ <link>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</link>
+ <guid>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</guid>
<pubDate>{{ .date }}</pubDate>
</item>
{{ end }}
@@ -29,8 +29,8 @@
{{ range (sort .advisories "date" "desc") }}
<item>
<title>{{ .name }}</title>
- <link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link>
- <guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid>
+ <link>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</link>
+ <guid>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</guid>
<pubDate>{{ .date }}</pubDate>
</item>
{{ end }}