Skip to content

Commit

Permalink
Fixed meta description wrongly using property. Should be name instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Oct 2, 2021
1 parent 1139bb7 commit 7b9cdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IHP/PageHead/ViewFunctions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ ogTitleOrDefault defaultValue = [hsx|<meta property="og:title" content={content}
-- >
-- > html ShowView { .. } = [hsx|..|]
descriptionOrDefault :: (?context :: ControllerContext) => Text -> Html
descriptionOrDefault defaultValue = [hsx|<meta property="description" content={content}/>|]
descriptionOrDefault defaultValue = [hsx|<meta name="description" content={content}/>|]
where
content = case maybeFromFrozenContext @PageDescription of
Just (PageDescription description) -> description
Expand Down

0 comments on commit 7b9cdfb

Please sign in to comment.