26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
{{ $feed := getJSON .Site.Params.cveFeedBucket -}}
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>{{ $feed.title }}</title>
|
|
<link>{{ .Site.BaseURL }}docs/reference/issues-security/official-cve-feed/</link>
|
|
<description>{{ $feed.description }}</description>
|
|
<generator>Hugo -- gohugo.io</generator>
|
|
<language>en-US</language>
|
|
<copyright>{{ .Site.Params.Copyright_k8s }}</copyright>
|
|
<lastBuildDate>{{ time.Format "Mon, 02 Jan 2006 15:04:05 -0700" $feed._kubernetes_io.updated_at | safeHTML }}</lastBuildDate>
|
|
{{ with .OutputFormats.Get "RSS" -}}
|
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
|
{{ end -}}
|
|
{{ range $feed.items -}}
|
|
<item>
|
|
<title>{{ .id }}</title>
|
|
<link>{{ .url }}</link>
|
|
<pubDate>{{ time.Format "Mon, 02 Jan 2006 15:04:05 -0700" .date_published | safeHTML }}</pubDate>
|
|
<guid>{{ .external_url }}</guid>
|
|
<description>{{ htmlEscape .summary }}</description>
|
|
</item>
|
|
{{ end -}}
|
|
</channel>
|
|
</rss>
|
|
|