Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

RSS fix

  • Loading branch information...
commit ee46e3ea4b3427af6df568a2069093ad48e76898 1 parent ba14a6d
Jasper Van der Jeugt authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  tagblog/hakyll.hs
2  tagblog/hakyll.hs
@@ -22,6 +22,7 @@ main = hakyll $ do
22 22 >>> arr (renderDateField "date" "%B %e, %Y" "Date unknown")
23 23 >>> renderTagsField "prettytags" (fromCapture "tags/*")
24 24 >>> applyTemplateCompiler "templates/post.html"
  25 + >>> arr (copyBodyToField "description")
25 26 >>> applyTemplateCompiler "templates/default.html"
26 27 >>> relativizeUrlsCompiler
27 28
@@ -58,7 +59,6 @@ main = hakyll $ do
58 59 match "rss.xml" $ route idRoute
59 60 create "rss.xml" $
60 61 requireAll_ "posts/*"
61   - >>> mapCompiler (arr $ copyBodyToField "description")
62 62 >>> renderRss feedConfiguration
63 63
64 64 -- Read templates

0 comments on commit ee46e3e

Please sign in to comment.
Something went wrong with that request. Please try again.