From c84cf2484958fb4d664f3f41cbdac7b262950f9b Mon Sep 17 00:00:00 2001 From: Gijs Date: Wed, 11 Apr 2018 18:17:23 +0100 Subject: Bug 1451960 - Improve opengraph metadata for access-denied bugs --- .../template/en/default/hook/global/header-start.html.tmpl | 7 +++++-- template/en/default/index.html.tmpl | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl index 2d7c3379f..dc0dc1ad9 100644 --- a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl +++ b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl @@ -13,6 +13,9 @@ [% IF bug %] -[% ELSE %] - +[% ELSIF error_message %] + +[% END %] +[% IF og_image %] + [% END %] diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 97659e6a8..e63bf0e87 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -30,6 +30,7 @@ header = "Main Page" style_urls = [ 'skins/standard/index.css' ] no_yui = 1 + og_image = "extensions/OpenGraph/web/moz-social-bw-rgb-1200x1200.png" %]
-- cgit v1.2.3-24-g4f1b