Skip to content

Commit

Permalink
Fix priority
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Apr 19, 2013
1 parent a013eb2 commit 1da46a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yesod-sitemap/Yesod/Sitemap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,6 @@ sitemapConduit render = do
case sitemapChangeFreq of
Nothing -> return ()
Just scf -> element "changefreq" [] $ yield $ EventContent $ ContentText $ showFreq scf
element "priority" [] $ yield $ EventContent $ ContentText $ pack $ show sitemapPriority
case sitemapPriority of
Nothing -> return ()
Just p -> element "priority" [] $ yield $ EventContent $ ContentText $ pack $ show p

0 comments on commit 1da46a5

Please sign in to comment.