Skip to content
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

Error on heroku #6

Open
tobinharris opened this issue Sep 20, 2012 · 2 comments
Open

Error on heroku #6

tobinharris opened this issue Sep 20, 2012 · 2 comments

Comments

@tobinharris
Copy link

I get an error on Heroku with this because it's trying to access the destination folder that isn't available on Heroku.

@jumanji27
Copy link

Have a similar problem with github pages, required duplication sitemap.xml file in a destination folder ( /_site ) and in a jekyll folder ( / )

@bhavyanshu
Copy link

Yup same problem here as well. Sitemap does not appear in github pages.

Solution : Applicable for jekyll blogs hosted on github.

I made the following change in sitemap_generator.rb file
file = File.new(File.join(site.dest+"/../", SITEMAP_FILE_NAME), "w") around line 126

That way it writes file to parent directory and not _site directory. Hence the sitemap is visible on your github blog.

chepo92 added a commit to chepo92/MarlinDocumentation that referenced this issue Jul 11, 2020
chepo92 added a commit to chepo92/MarlinDocumentation that referenced this issue Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants