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

Migrate to sitemap plugin supported by Github Pages #11

Open
lisawilliams opened this issue Aug 21, 2017 · 2 comments
Open

Migrate to sitemap plugin supported by Github Pages #11

lisawilliams opened this issue Aug 21, 2017 · 2 comments

Comments

@lisawilliams
Copy link
Owner

gh-pages version of site not showing sitemap.xml, probably because gh-pages only supports a subset of Jekyll plugins. See following for details:

https://stackoverflow.com/questions/31871433/why-put-the-site-directory-of-a-jekyll-site-in-gitignore

gh-pages does have a supported sitemaps plugin, see:

https://help.github.com/articles/sitemaps-for-github-pages/

lisawilliams pushed a commit that referenced this issue Dec 21, 2017
Added a line to `_config.yml` to add a sitemap plugin
supported by Github Pages. I believe I have to run `jekyll build`
to get this installed. But I'll do that after I commit.

Also checked to see if the Github Pages gem was up to date by
running `gem update github-pages`. Got the following response:

```
$ gem update github-pages
Updating installed gems
Nothing to update

```
References Issue #11 and Issue #43.
@lisawilliams
Copy link
Owner Author

Hmmm...I think the old sitemap plugin may be hindering the upload of the new sitemap.

@lisawilliams
Copy link
Owner Author

lisawilliams commented Dec 21, 2017

More detail: there is a file, sitemap_generator.rb in the _plugins folder. There is also a sitemap.xml file in the _site directory, and it is updating, but https://lisawilliams.github.io/lisa/sitemap.xml pulls a 404 error.

I think that if I delete sitemap_generator.rb and sitemap.xml and restart the process, it may work. I think those files are from the non-working attempt described soooo long agoooo at the beginning of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant