32 lines
1.5 KiB
XML
32 lines
1.5 KiB
XML
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
|
<rss version="2.0">
|
|
<channel>
|
|
<title>Pulumi Blog</title>
|
|
<link>{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}</link>
|
|
<description>Infrastructure as Code for AWS, Azure, Google Cloud, including Kubernetes, Serverless, Containers, for Developers and DevOps.</description>
|
|
<language>{{ .Site.LanguageCode }}</language>
|
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
{{ $allPosts := where .Data.Pages "Type" "in" "blog" }}
|
|
{{ range first 50 $allPosts.ByDate.Reverse }}
|
|
<item>
|
|
<title>{{ .Title }}</title>
|
|
<link>{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}</link>
|
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
<guid>{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}</guid>
|
|
<description>{{ .Content | html }}</description>
|
|
{{ range $id := .Params.authors }}
|
|
{{ $author := index $.Site.Data.team.team $id }}
|
|
{{ if $author }}
|
|
<author>{{ $author.name }}</author>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ range $tag := .Params.tags }}
|
|
{{ if $tag }}
|
|
<category>{{ $tag }}</category>
|
|
{{ end }}
|
|
{{ end }}
|
|
</item>
|
|
{{ end }}
|
|
</channel>
|
|
</rss>
|