diff --git a/config.toml b/config.toml index 746a8cc34c85..fa179a3f1fa1 100644 --- a/config.toml +++ b/config.toml @@ -2,20 +2,21 @@ baseURL = "https://pulumi.io/" languageCode = "en-us" title = "Pulumi" -disableKinds = ["category", "RSS"] - +disableKinds = ["category", "taxonomyTerm"] +sectionPagesMenu = "main" pygmentsCodeFences = true pygmentsUseClasses = true -sectionPagesMenu = "main" +[outputFormats.RSS] + baseName = "rss" [taxonomies] - author = "authors" - tag = "tags" + author = "authors" + tag = "tags" [permalinks] - authors = "/blog/author/:slug/" - tags = "/blog/tag/:slug/" + authors = "/blog/author/:slug/" + tags = "/blog/tag/:slug/" [blackfriday] fractions = false diff --git a/layouts/blog/rss.xml b/layouts/blog/rss.xml new file mode 100644 index 000000000000..e9759f3364b0 --- /dev/null +++ b/layouts/blog/rss.xml @@ -0,0 +1,30 @@ +{{ printf "" | safeHTML }} + + + Pulumi Blog + {{ .Permalink }} + Infrastructure as Code for AWS, Azure, Google Cloud, including Kubernetes, Serverless, Containers, for Developers and DevOps. + {{ .Site.LanguageCode }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ range where .Data.Pages "Type" "in" "blog" }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ .Permalink }} + {{ .Summary | html }} + {{ range $id := .Params.authors }} + {{ $author := index $.Site.Data.team.team $id }} + {{ if $author }} + {{ $author.name }} + {{ end }} + {{ end }} + {{ range $tag := .Params.tags }} + {{ if $tag }} + {{ $tag }} + {{ end }} + {{ end }} + + {{ end }} + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index adec9bb6a49d..b97827c2eba9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,8 +3,9 @@ + {{ if isset .Params "redirect_to" }} - + {{ end }} + +