mirror of
https://github.com/srid/rib.git
synced 2024-11-26 04:15:35 +03:00
Run ormolu
This commit is contained in:
parent
4b3d374aec
commit
c623ff953d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user