diff --git a/Handler/RootFeed.hs b/Handler/RootFeed.hs index 0d0f032..9b86046 100755 --- a/Handler/RootFeed.hs +++ b/Handler/RootFeed.hs @@ -192,7 +192,9 @@ mediumToEntry ent = do { feedEntryLink = MediumR (entityKey ent) , feedEntryUpdated = mediumTime (entityVal ent) , feedEntryTitle = mediumTitle (entityVal ent) - , feedEntryContent = toHtml (fromMaybe (Markdown "") $ mediumDescription $ entityVal ent) + , feedEntryContent = toHtml ((fromMaybe (Markdown "") $ mediumDescription $ entityVal ent) + `mappend` Markdown (LT.pack "\n\n") + `mappend` Markdown (LT.pack $ show $ (toEnum $ mediumLicence (entityVal ent) :: Licence))) , feedEntryEnclosure = Just $ EntryEnclosure (StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPreview $ entityVal ent) []) size diff --git a/eidolon.cabal b/eidolon.cabal index 59049ba..d6bccf3 100755 --- a/eidolon.cabal +++ b/eidolon.cabal @@ -1,5 +1,5 @@ name: eidolon -version: 0.1.8.3 +version: 0.1.8.4 synopsis: Image gallery in Yesod homepage: https://eidolon.nek0.eu license: AGPL-3 @@ -92,7 +92,7 @@ library , yaml >= 0.8 , http-conduit >= 2.1 , directory >= 1.2 - , warp >= 3.1 && < 3.2 + , warp >= 3.1 , data-default >= 0.5 , aeson >= 0.6 , monad-logger >= 0.3 @@ -140,6 +140,7 @@ library , http-client , yesod-form >= 1.4.7 , magic + , texmath < 0.9 executable eidolon if flag(library-only)