From 03807818246d6d309270c6f663b18392765f18ee Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 14 Jan 2025 12:13:09 -0500 Subject: [PATCH] Bug 1941468 - Sitemap robots.txt template is looking at the wrong variable to determine if running on production bugzilla.mozilla.org --- template/en/default/robots.txt.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/template/en/default/robots.txt.tmpl b/template/en/default/robots.txt.tmpl index 1884ff7236..8107f8a2b5 100644 --- a/template/en/default/robots.txt.tmpl +++ b/template/en/default/robots.txt.tmpl @@ -1,9 +1,8 @@ User-agent: * Disallow: [% basepath FILTER none %] Crawl-delay: 30 -[% IF Bugzilla.localconfig.urlbase == "https://bugzilla.mozilla.org/" %] +[% IF urlbase == "https://bugzilla.mozilla.org/" %] -[% USE Bugzilla %] Allow: [% basepath FILTER none %]$ Allow: [% basepath FILTER none %]index.cgi