- if og_image
- properties = {}
- properties["og:image"] = Addressable::URI.join(root_url, og_image).normalize
- properties["og:image:alt"] = og_image_alt if og_image_alt
- return properties
+ if properties["og:image"]
+ image_properties = {}
+ image_properties["og:image"] = Addressable::URI.join(root_url, properties["og:image"]).normalize
+ image_properties["og:image:alt"] = properties["og:image:alt"] if properties["og:image:alt"]
+ return image_properties