Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RSS fix

  • Loading branch information...
commit ee46e3ea4b3427af6df568a2069093ad48e76898 1 parent ba14a6d
@jaspervdj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tagblog/hakyll.hs
View
2  tagblog/hakyll.hs
@@ -22,6 +22,7 @@ main = hakyll $ do
>>> arr (renderDateField "date" "%B %e, %Y" "Date unknown")
>>> renderTagsField "prettytags" (fromCapture "tags/*")
>>> applyTemplateCompiler "templates/post.html"
+ >>> arr (copyBodyToField "description")
>>> applyTemplateCompiler "templates/default.html"
>>> relativizeUrlsCompiler
@@ -58,7 +59,6 @@ main = hakyll $ do
match "rss.xml" $ route idRoute
create "rss.xml" $
requireAll_ "posts/*"
- >>> mapCompiler (arr $ copyBodyToField "description")
>>> renderRss feedConfiguration
-- Read templates
Please sign in to comment.
Something went wrong with that request. Please try again.