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 }}
|
{{ 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 }}
|
||||||
|
|
Loading…
Reference in a new issue