removed QQ hacks from yesod-sitemap
This commit is contained in:
parent
6155e135b0
commit
a3c307070c
@ -1,5 +1,4 @@
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
---------------------------------------------------------
|
||||
--
|
||||
@ -57,12 +56,7 @@ data SitemapUrl url = SitemapUrl
|
||||
}
|
||||
|
||||
template :: [SitemapUrl url] -> HtmlUrl url
|
||||
template urls =
|
||||
#if __GLASGOW_HASKELL__ >= 700
|
||||
[xhamlet|
|
||||
#else
|
||||
[$xhamlet|
|
||||
#endif
|
||||
template urls = [xhamlet|
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
$forall url <- urls
|
||||
<url>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user