Use audio tags if provided.

This commit is contained in:
Dillon Kearns 2019-08-05 13:19:33 -07:00
parent 4c33914cdc
commit 5754443168

View File

@ -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 )