Fix broken links in security advisory RSS feed.
PR: 253768
This commit is contained in:
parent
516370df65
commit
e68d8f44ad
1 changed files with 4 additions and 4 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue