From f8f15432f377a3b50fb8b4c20f6f99c19c116e76 Mon Sep 17 00:00:00 2001 From: David Lawrence <dkl@mozilla.com> Date: Mon, 13 Jan 2025 22:11:47 -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