-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements for generating sitemaps #2090
base: master
Are you sure you want to change the base?
Conversation
3db2cce
to
1dd0178
Compare
Need to output a warning when using copied resource robots.txt and 1) it doesn’t contain "Sitemap: /sitemapindex.xml" or 2) doesn’t contain every entry in ROBOTS_EXCLUSIONS. |
A warning is already outputed in nikola/plugins/task/robots.py.
|
It works for me. on both python2 and python3. |
1dd0178
to
b91024f
Compare
If the robots.txt file already exist, read it and ignore ROBOTS_EXCLUSIONS.
b91024f
to
cac59c7
Compare
I wrote the simple code.
|
I am not familiar with this code, but this PR looks ok for me ad it has sat here for way too long... any opinions @Kwpolska ? |
This PR contains three enhancements of generating sitemaps.