aboutsummaryrefslogtreecommitdiff
path: root/website/themes/beastie/layouts/security/security.rss.xml
blob: 0e0a9801f6c5871155e311ad1370a759c59778d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FreeBSD Security Advisories and Errata notices</title>
    <link>https://www.FreeBSD.org/security/</link>
    <description>Security advisories and Errata notices published from the FreeBSD Project</description>
    <language>en</language>
    <webMaster>secteam@FreeBSD.org (FreeBSD Security Team)</webMaster>
    <managingEditor>secteam@FreeBSD.org (FreeBSD Security Team)</managingEditor>
    <image>
      <url>https://www.FreeBSD.org/logo/logo-full.png</url>
      <title>FreeBSD Security Advisories and Errata notices</title>
      <link>https://www.FreeBSD.org/security/</link>
    </image>
    <atom:link href="https://www.FreeBSD.org/security/feed.xml" rel="self" type="application/rss+xml"/>
    {{ with .Site.Data.security.errata }}
      {{ $securityCounter := 0 }}
      {{ range (sort .notices "date" "desc") }}
        {{ if lt $securityCounter 10 }}
          <item>
            <title>{{ .name }}</title>
            <link>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</link>
            <guid>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</guid>
            <pubDate>{{ .date }}</pubDate>
          </item>
        {{ end }}
      {{ end }}
    {{ end }}
    {{ with .Site.Data.security.advisories }}
      {{ range (sort .advisories "date" "desc") }}
          <item>
            <title>{{ .name }}</title>
            <link>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</link>
            <guid>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</guid>
            <pubDate>{{ .date }}</pubDate>
          </item>
      {{ end }}
    {{ end }}
  </channel>
</rss>