Skip to content

Commit 8e1c55d

Browse files
authored
DD: RSS feed (#23346)
<!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent ab1e550 commit 8e1c55d

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

content/manuals/desktop/release-notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ aliases:
1515
- /desktop/linux/release-notes/
1616
- /mackit/release-notes/
1717
weight: 220
18+
outputs: ["HTML", "markdown", "RSS"]
19+
type: "desktop-release"
1820
---
21+
{{< rss-button feed="/desktop/release-notes/index.xml" text="Subscribe to Docker Desktop RSS feed" >}}
1922

2023
<!-- vale off -->
2124

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
2+
<channel>
3+
<title>Docker Docs - Docker Desktop Releases</title>
4+
<link>{{ .Permalink }}</link>
5+
<description>Docker Desktop release announcements</description>
6+
<generator>Hugo -- gohugo.io</generator>
7+
<language>{{ .Site.LanguageCode | default "en" }}</language>
8+
<lastBuildDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
9+
<atom:link href="{{ .Permalink }}index.xml" rel="self" type="application/rss+xml" />
10+
11+
<!-- Single item with the page content -->
12+
<item>
13+
<title>Latest Docker Desktop Release - {{ now.Format "January 2, 2006" }}</title>
14+
<link>{{ .Permalink }}</link>
15+
<pubDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
16+
<guid>{{ .Permalink }}#{{ now.Unix }}</guid>
17+
<description>{{ .Plain | html }}</description>
18+
</item>
19+
</channel>
20+
</rss>

0 commit comments

Comments
 (0)