-
Notifications
You must be signed in to change notification settings - Fork 138
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
Overwriting existing robots.txt #189
Comments
Yup, you've found a bug.
jekyll-sitemap/lib/jekyll/jekyll-sitemap.rb Lines 62 to 68 in 2e2bb3c
We are only checking if |
I think this should be something like |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Still would like help with this issue if anyone is interested. |
This comment has been minimized.
This comment has been minimized.
This is still happening. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hello, I've made a PR, I am not sure it covers the original author problems, but if someone would care to have a look and test it, it would be much appreciated! feedback welcomed 😊 |
Hi folks! I love the plugin, great work! Any plan to publish a new release with the merged PR to fix the original issue? |
v1.4.0 is available now so I think this issue can be closed. Do you know when this will be available on GitHub pages though? The version there is still on v1.2.0. |
@coliff Can't say, apparently dependabot is not active on https://github.com/github/pages-gem but feel free to open an issue there. |
Ah, found that there is currently an open PR to update a bunch of Jekyll plugins for GitHub Pages - including this one. :-) |
It appears that this gem assumes that a robots.txt file doesn't already exist? Or maybe it does but it's being overwritten? Or perhaps I'm including the gem/plugin in the wrong order?
I have a robots.txt file defined in my _pages directory, so that I can have a bit of control over what type of robots are allowed into my various environments, but all of that is being blown away once that I've added this gem.
The text was updated successfully, but these errors were encountered: