mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-28 06:12:33 +03:00
Use audio tags if provided.
This commit is contained in:
parent
4c33914cdc
commit
5754443168
@ -88,6 +88,7 @@ type alias Common =
|
|||||||
|
|
||||||
tagsForCommon common =
|
tagsForCommon common =
|
||||||
tagsForImage common.image
|
tagsForImage common.image
|
||||||
|
++ (common.audio |> Maybe.map tagsForAudio |> Maybe.withDefault [])
|
||||||
++ (common.video |> Maybe.map tagsForVideo |> Maybe.withDefault [])
|
++ (common.video |> Maybe.map tagsForVideo |> Maybe.withDefault [])
|
||||||
++ [ ( "og:title", Just common.title )
|
++ [ ( "og:title", Just common.title )
|
||||||
, ( "og:url", Just common.url )
|
, ( "og:url", Just common.url )
|
||||||
|
Loading…
Reference in New Issue
Block a user