1
1
mirror of https://github.com/srid/rib.git synced 2024-11-22 19:35:36 +03:00

Run ormolu

This commit is contained in:
Sridhar Ratnakumar 2020-05-11 22:27:24 -04:00
parent 4b3d374aec
commit c623ff953d

View File

@ -21,8 +21,7 @@ import qualified Text.URI as URI
-- The OpenGraph metadata -- The OpenGraph metadata
-- --
-- This type can be directly rendered to HTML using `toHTML`. -- This type can be directly rendered to HTML using `toHTML`.
data OpenGraph data OpenGraph = OpenGraph
= OpenGraph
{ _openGraph_title :: Text, { _openGraph_title :: Text,
_openGraph_url :: Maybe URI.URI, _openGraph_url :: Maybe URI.URI,
_openGraph_author :: Maybe Text, _openGraph_author :: Maybe Text,
@ -66,8 +65,7 @@ instance ToHtml OGType where
metaOg "type" "website" metaOg "type" "website"
-- TODO: _article_profile :: [Profile] -- TODO: _article_profile :: [Profile]
data Article data Article = Article
= Article
{ _article_section :: Maybe Text, { _article_section :: Maybe Text,
_article_modifiedTime :: Maybe UTCTime, _article_modifiedTime :: Maybe UTCTime,
_article_publishedTime :: Maybe UTCTime, _article_publishedTime :: Maybe UTCTime,