Closed RollsBean closed 6 years ago
Or anyone can help me to add site map? it's will useful for me
jekyll-sitemap
is a Ruby Gem, you don't need to add a _plugins
folder (it will be ignored by GitHub Pages), just add it to the plugins
array in the config file to tell Jekyll to use it.
Your config file use gems
and plugins
at the same time, that might be the problem, FYI gems
has been deprecated in favor of plugins
since Jekyll 3.5.0
https://github.com/RollsBean/rollsbean.github.com/blob/master/_config.yml#L59-L63
You have update your config file with a single plugins
and remove the gems
entry:
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
@DirtyF thanks for your support
I use latest Jekyll and i want to add site map in my blog. I add config
plugins: - jekyll-sitemap
in_config.yml
, while sositemap.xml
generated, then i follow guidance to add a folder named_plugin
and add pluginjekyll-sitemap.rb
to this folder, while nothing happened. How can i do to add site map to may blog, anyone help me, thanks! Additionally, my blog url: https://rollsbean.github.io/ for detail checking if needed