mirror of https://github.com/istio/istio.io.git
56 lines
1.9 KiB
XML
56 lines
1.9 KiB
XML
{{ $home := .Site.BaseURL }}
|
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>Istio Blog and News</title>
|
|
<description>Connect, secure, control, and observe services.</description>
|
|
{{ if not .Date.IsZero }}
|
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
|
{{ end }}
|
|
<link>{{ $home }}</link>
|
|
<image>
|
|
<url>{{ $home }}/favicons/android-192x192.png</url>
|
|
<link>{{ $home }}</link>
|
|
</image>
|
|
<category>Service mesh</category>
|
|
|
|
{{ $pages := (where .Site.Pages "Section" "news").ByPublishDate.Reverse }}
|
|
|
|
{{ range $post := $pages }}
|
|
{{ if and (not $post.Draft) $post.IsPage }}
|
|
<item>
|
|
<title>{{ $post.Title }}</title>
|
|
<description>{{ $post.Content | html }}</description>
|
|
<pubDate>{{ $post.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
<link>{{ $post.Permalink }}</link>
|
|
<author>{{ $post.Params.attribution }}</author>
|
|
<guid isPermaLink="true">{{ $post.Permalink }}</guid>
|
|
|
|
{{ range $kw := $post.Keywords }}
|
|
<category>{{ $kw }}</category>
|
|
{{ end }}
|
|
</item>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ $pages := (where .Site.Pages "Section" "blog").ByPublishDate.Reverse }}
|
|
|
|
{{ range $post := $pages }}
|
|
{{ if and (not $post.Draft) $post.IsPage }}
|
|
<item>
|
|
<title>{{ $post.Title }}</title>
|
|
<description>{{ $post.Content | html }}</description>
|
|
<pubDate>{{ $post.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
<link>{{ $post.Permalink }}</link>
|
|
<author>{{ $post.Params.attribution }}</author>
|
|
<guid isPermaLink="true">{{ $post.Permalink }}</guid>
|
|
|
|
{{ range $kw := $post.Keywords }}
|
|
<category>{{ $kw }}</category>
|
|
{{ end }}
|
|
</item>
|
|
{{ end }}
|
|
{{ end }}
|
|
</channel>
|
|
</rss>
|