- last update
over 1 year ago 2 fail - First commit to issue fork.
- last update
9 months ago 6 pass - 🇮🇳India sakthi_dev
Created MR by resolving the test case failures. Please review.
To refer to a sitemap.xml file from the robots.txt file, an absolute url is needed:
Sitemap: http://www.example.com/sitemap.xml
We preferred not to 'hard-code' the base url into the robots.txt settings as this is exported as configuration and has to differ between environments (eg. staging, production).
See the attached patch which allows usage of tokens in the robots.txt file, so we can enter
Sitemap: [site:url]sitemap.xml
instead.
Needs work
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Created MR by resolving the test case failures. Please review.