Skip to content

Commit

Permalink
fix atom link in RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleclair committed Dec 30, 2024
1 parent 8e8b24c commit 3a80a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/rss.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule Mix.Tasks.Rss do
<title>andyleclair.dev</title>
<description>Personal blog of Andy LeClair</description>
<link>#{url()}</link>
<atom:link href="#{url("rss.xml")}" rel="self" type="application/rss+xml" />
<atom:link href="#{url("feed.xml")}" rel="self" type="application/rss+xml" />
#{items}
</channel>
</rss>
Expand Down
2 changes: 1 addition & 1 deletion output/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>andyleclair.dev</title>
<description>Personal blog of Andy LeClair</description>
<link>https://andyleclair.dev/</link>
<atom:link href="https://andyleclair.dev/rss.xml" rel="self" type="application/rss+xml" />
<atom:link href="https://andyleclair.dev/feed.xml" rel="self" type="application/rss+xml" />
<item>
<title>Adding RSS to a static site</title>
<description>Adding RSS and Atom feeds to this site</description>
Expand Down

0 comments on commit 3a80a19

Please sign in to comment.