diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-07-31 23:20:11 +0200 |
---|---|---|
committer | dklawren <dklawren@users.noreply.github.com> | 2018-07-31 23:20:11 +0200 |
commit | 1affce4d1d963327098de5446485e1bc00a8b096 (patch) | |
tree | a20e6dc036d018cba408371f6faefcefd31c4801 | |
parent | 1c9cf3bd60131bfd24cce4d681f99f29695bbfb7 (diff) | |
download | bugzilla-1affce4d1d963327098de5446485e1bc00a8b096.tar.gz bugzilla-1affce4d1d963327098de5446485e1bc00a8b096.tar.xz |
Bug 1432095 - OpenGraph image not loaded
3 files changed, 9 insertions, 0 deletions
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 %] |