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 }}
<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 }}