diff options
Diffstat (limited to 'app/helpers/social_helper.rb')
| -rw-r--r-- | app/helpers/social_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/social_helper.rb b/app/helpers/social_helper.rb index e66884a4..d6932a2f 100644 --- a/app/helpers/social_helper.rb +++ b/app/helpers/social_helper.rb | |||
| @@ -65,7 +65,7 @@ module SocialHelper | |||
| 65 | 65 | ||
| 66 | def og_image_alt | 66 | def og_image_alt |
| 67 | asset = @page&.persisted? ? @page.headline_asset : nil | 67 | asset = @page&.persisted? ? @page.headline_asset : nil |
| 68 | asset&.has_variant?(:og) ? asset.name.to_s : OG_SITE_NAME | 68 | asset&.has_variant?(:og) ? humanized_asset_name(asset) : OG_SITE_NAME |
| 69 | end | 69 | end |
| 70 | 70 | ||
| 71 | def og_title | 71 | def og_title |
