Skip to content

Commit

Permalink
fix: urls in rss output (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
paradox460 committed Jan 22, 2024
1 parent 1172333 commit 66d15d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tableau/extensions/rss_extension.ex
Expand Up @@ -40,9 +40,9 @@ defmodule Tableau.RSSExtension do
"""
<item>
<title>#{post.title}</title>
<link>https://#{Path.join(url, post.permalink)}</link>
<link>#{URI.merge(url, post.permalink)}</link>
<pubDate>#{Calendar.strftime(post.date, "%a, %d %b %Y %X %Z")}</pubDate>
<guid>http://#{Path.join(url, post.permalink)}</guid>
<guid>#{URI.merge(url, post.permalink)}</guid>
<description><![CDATA[ #{post.body} ]]></description>
</item>
"""
Expand Down

0 comments on commit 66d15d4

Please sign in to comment.