mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 21:31:32 +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 =
|
||||
tagsForImage common.image
|
||||
++ (common.audio |> Maybe.map tagsForAudio |> Maybe.withDefault [])
|
||||
++ (common.video |> Maybe.map tagsForVideo |> Maybe.withDefault [])
|
||||
++ [ ( "og:title", Just common.title )
|
||||
, ( "og:url", Just common.url )
|
||||
|
Loading…
Reference in New Issue
Block a user