Fix broken links in security advisory RSS feed.

PR: 	   253768
This commit is contained in:
Ryusuke SUZUKI 2021-02-24 21:00:35 +09:00
parent 516370df65
commit e68d8f44ad

View file

@ -18,8 +18,8 @@
{{ if lt $securityCounter 10 }} {{ if lt $securityCounter 10 }}
<item> <item>
<title>{{ .name }}</title> <title>{{ .name }}</title>
<link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link> <link>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</link>
<guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid> <guid>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</guid>
<pubDate>{{ .date }}</pubDate> <pubDate>{{ .date }}</pubDate>
</item> </item>
{{ end }} {{ end }}
@ -29,8 +29,8 @@
{{ range (sort .advisories "date" "desc") }} {{ range (sort .advisories "date" "desc") }}
<item> <item>
<title>{{ .name }}</title> <title>{{ .name }}</title>
<link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link> <link>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</link>
<guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid> <guid>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</guid>
<pubDate>{{ .date }}</pubDate> <pubDate>{{ .date }}</pubDate>
</item> </item>
{{ end }} {{ end }}