Skip to content

Commit

Permalink
Fixed formatting of feed output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbullock committed Oct 6, 2016
1 parent 8dc26f3 commit 6ad5621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/feed.thyme
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:th="http://www.thymeleaf.org">
<channel>
<title>JBake</title>
<link th:text='${config.site_host}'>link</link>
<link th:text='${config.site_host}'/>
<atom:link th:href='${config.site_host+"/feed.xml"}' href="link" rel="self" type="application/rss+xml" />
<description>JBake Bootstrap Template</description>
<language>en-gb</language>
Expand All @@ -11,7 +11,7 @@

<item th:each="post: ${published_posts}">
<title th:text='${post.title}'>title</title>
<link th:text='${config.site_host+"/"+post.uri}'>link</link>
<link th:text='${config.site_host+"/"+post.uri}'/>
<pubDate th:text='${#dates.format(post.date,"EEE, d MMM yyyy HH:mm:ss Z")}'>pubdate</pubDate>
<guid th:text='${post.uri}' isPermaLink="false">guid</guid>
<description th:text='${#strings.escapeXml(post.body)}'>description</description>
Expand Down

0 comments on commit 6ad5621

Please sign in to comment.