Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions content/manuals/desktop/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ aliases:
- /desktop/linux/release-notes/
- /mackit/release-notes/
weight: 220
outputs: ["HTML", "markdown", "RSS"]
type: "desktop-release"
---
{{< rss-button feed="/desktop/release-notes/index.xml" text="Subscribe to Docker Desktop RSS feed" >}}

<!-- vale off -->

Expand Down
20 changes: 20 additions & 0 deletions layouts/desktop-release/single.rss.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Docker Docs - Docker Desktop Releases</title>
<link>{{ .Permalink }}</link>
<description>Docker Desktop release announcements</description>
<generator>Hugo -- gohugo.io</generator>
<language>{{ .Site.LanguageCode | default "en" }}</language>
<lastBuildDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
<atom:link href="{{ .Permalink }}index.xml" rel="self" type="application/rss+xml" />

<!-- Single item with the page content -->
<item>
<title>Latest Docker Desktop Release - {{ now.Format "January 2, 2006" }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<guid>{{ .Permalink }}#{{ now.Unix }}</guid>
<description>{{ .Plain | html }}</description>
</item>
</channel>
</rss>