packages feed

tintin 1.4.5 → 1.4.6

raw patch · 2 files changed

+43/−2 lines, 2 files

Files

src/Tintin/Html/Templating.hs view
@@ -138,6 +138,47 @@ tintinHeader info@Project.Info {..} Project.Page {..} =   head_ $ do     title_ ( toHtml $ name <> " - " <> title )+    -- Twitter Card data+    meta_ [ name_ "twitter:card"+          , content_ "summary"+          ]+    meta_ [ name_ "twitter:site"+          , content_ ("https://s3-eu-west-1.amazonaws.com/worldwideapps/assets/tintin-" <> (Text.toLower $ show color) <> ".png")++          ]+    meta_ [ name_ "twitter:title"+          , content_ (name <> " - " <> title)+          ]+    meta_ [ name_ "twitter:description"+          , content_ synopsis+          ]+    meta_ [ name_ "twitter:creator"+          , content_ githubAuthor+          ]+    meta_ [ name_ "twitter:image"+          , content_ ("https://s3-eu-west-1.amazonaws.com/worldwideapps/assets/tintin-" <> (Text.toLower $ show color) <> ".png")++          ]+    -- Open Graph data+    meta_ [ itemprop_ "og:type"+          , content_ "website"+          ]+    meta_ [ itemprop_ "og:site_name"+          , content_ "theam"+          ]+    meta_ [ itemprop_ "og:title"+          , content_ (name <> " - " <> title)+          ]+    meta_ [ itemprop_ "og:url"+          , content_ githubLink+          ]+    meta_ [ itemprop_ "og:image"+          , content_  ("https://s3-eu-west-1.amazonaws.com/worldwideapps/assets/tintin-" <> (Text.toLower $ show color) <> ".png")++          ]+    meta_ [ itemprop_ "og:description"+          , content_ synopsis+          ]     link_ [ rel_ "stylesheet"           , href_ "https://fonts.googleapis.com/css?family=IBM+Plex+Sans|Montserrat:500"           ]
tintin.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 9942e552184b8b9d38d5dffd39d68aa5c5e04c7ffff9e1b3b3d797ff8ece6fb3+-- hash: 5feba5bd5f3b7e1c0e46f36c336102e1fd5d1246df398f4d989bdb892ca8683b  name:           tintin-version:        1.4.5+version:        1.4.6 synopsis:       A softer alternative to Haddock description:    Please see the website <https://theam.github.io/tintin> category:       Documentation