mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-26 04:31:39 +03:00
Fix hardcoded values in Head module helper.
This commit is contained in:
parent
13a057252a
commit
37da01e830
@ -37,8 +37,8 @@ Results in `<meta property="og:type" content="article" />`
|
||||
-}
|
||||
metaProperty property content =
|
||||
node "meta"
|
||||
[ ( "property", "og:type" )
|
||||
, ( "content", "article" )
|
||||
[ ( "property", property )
|
||||
, ( "content", content )
|
||||
]
|
||||
|
||||
|
||||
@ -54,8 +54,8 @@ Results in `<meta name="twitter:card" content="summary_large_image" />`
|
||||
-}
|
||||
metaName name content =
|
||||
node "meta"
|
||||
[ ( "name", "twitter:card" )
|
||||
, ( "content", "summary_large_image" )
|
||||
[ ( "name", name )
|
||||
, ( "content", content )
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user