app/views/layouts/tramway/landing/_meta.html.haml in tramway-landing-2.2.0.2 vs app/views/layouts/tramway/landing/_meta.html.haml in tramway-landing-2.2.1

- old
+ new

@@ -1,3 +1,5 @@ %meta{ content: 'text/html; charset=UTF-8', http: { equiv: 'Content-Type' } } %meta{ content: "width=device-width, initial-scale=1, maximum-scale=0.8", name: "viewport" } -%meta{ property: 'vk:image', content: yield(:main_image) } +- main_image = @application.main_image.present? ? "/#{@application.main_image}" : yield(:main_image) +%meta{ property: 'vk:image', content: main_image } +%meta{ property: 'og:image', content: main_image }