Workaround for GHC warnings (#252)
This commit is contained in:
parent
87c75eddac
commit
9905011721
@ -75,11 +75,11 @@ entryTemplate arg =
|
|||||||
atomLink :: Route m
|
atomLink :: Route m
|
||||||
-> String -- ^ title
|
-> String -- ^ title
|
||||||
-> GWidget s m ()
|
-> GWidget s m ()
|
||||||
atomLink u title = addHamletHead
|
atomLink r title = addHamletHead
|
||||||
#if __GLASGOW_HASKELL__ >= 700
|
#if __GLASGOW_HASKELL__ >= 700
|
||||||
[hamlet|
|
[hamlet|
|
||||||
#else
|
#else
|
||||||
[$hamlet|
|
[$hamlet|
|
||||||
#endif
|
#endif
|
||||||
<link href=@{u} type=#{S8.unpack typeAtom} rel="alternate" title=#{title}
|
<link href=@{r} type=#{S8.unpack typeAtom} rel="alternate" title=#{title}
|
||||||
|]
|
|]
|
||||||
|
|||||||
@ -72,11 +72,11 @@ entryTemplate arg =
|
|||||||
rssLink :: Route m
|
rssLink :: Route m
|
||||||
-> String -- ^ title
|
-> String -- ^ title
|
||||||
-> GWidget s m ()
|
-> GWidget s m ()
|
||||||
rssLink u title = addHamletHead
|
rssLink r title = addHamletHead
|
||||||
#if __GLASGOW_HASKELL__ >= 700
|
#if __GLASGOW_HASKELL__ >= 700
|
||||||
[hamlet|
|
[hamlet|
|
||||||
#else
|
#else
|
||||||
[$hamlet|
|
[$hamlet|
|
||||||
#endif
|
#endif
|
||||||
<link href=@{u} type=#{S8.unpack typeRss} rel="alternate" title=#{title}
|
<link href=@{r} type=#{S8.unpack typeRss} rel="alternate" title=#{title}
|
||||||
|]
|
|]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user