Jekyll Root Directory is a ruby gem for Jekyll static site generator.
It allows users to move static root sites files away from the root Jekyll directory by utilization of a _root
directory.
Add this line to your Gemfile:
group :jekyll_plugins do
gem "jekyll-root-directory"
end
And then execute:
$ bundle
Alternatively install the gem yourself as:
$ gem install jekyll-root-directory
and put this in your _config.yml
plugins:
- jekyll-root-directory
- Create a
_root
directory. - Move your static root files to
_root
(favicon, robots.txt, humans.txt etc.). - Generate your site!