From: Kohei Yoshino Date: Tue, 31 Jul 2018 21:20:11 +0000 (-0400) Subject: Bug 1432095 - OpenGraph image not loaded X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1affce4d1d963327098de5446485e1bc00a8b096;p=thirdparty%2Fbugzilla.git Bug 1432095 - OpenGraph image not loaded --- diff --git a/extensions/OpenGraph/template/en/default/hook/robots-end.txt.tmpl b/extensions/OpenGraph/template/en/default/hook/robots-end.txt.tmpl new file mode 100644 index 000000000..217924001 --- /dev/null +++ b/extensions/OpenGraph/template/en/default/hook/robots-end.txt.tmpl @@ -0,0 +1,4 @@ +[%# comment lines are required to produce line breaks %] +# +Allow: /extensions/OpenGraph/web/ +# diff --git a/extensions/SiteMapIndex/template/en/default/hook/robots-end.txt.tmpl b/extensions/SiteMapIndex/template/en/default/hook/robots-end.txt.tmpl index 818afb151..8805de0aa 100644 --- a/extensions/SiteMapIndex/template/en/default/hook/robots-end.txt.tmpl +++ b/extensions/SiteMapIndex/template/en/default/hook/robots-end.txt.tmpl @@ -1,2 +1,5 @@ +[%# comment lines are required to produce line breaks %] +# Allow: /data/SiteMapIndex/sitemap*.xml.gz Sitemap: [% SITEMAP_URL %] +# diff --git a/template/en/default/robots.txt.tmpl b/template/en/default/robots.txt.tmpl index 7ef83c0f1..a4f8aed24 100644 --- a/template/en/default/robots.txt.tmpl +++ b/template/en/default/robots.txt.tmpl @@ -19,6 +19,8 @@ Disallow: /show_bug.cgi*format=multiple* Allow: /describecomponents.cgi Allow: /describekeywords.cgi +[% FILTER remove('#.*') %] [% Hook.process("end") %] +[% END %] [% END %]