Skip to content

Commit b34eaf2

Browse files
committed
Add Jekyll Sitemap
This creates both a `sitemap.xml` and a `robots.txt` file in the web root
1 parent f64a4cc commit b34eaf2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages'
3+
gem 'github-pages', group: :jekyll_plugins
4+
5+
group :jekyll_plugins do
6+
gem 'jekyll-sitemap'
7+
end
48

59
group :scripts do
610
gem 'mgem'

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ PLATFORMS
266266
DEPENDENCIES
267267
git
268268
github-pages
269+
jekyll-sitemap
269270
mgem
270271
yard-coderay
271272
yard-mruby

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ highlighter: rouge
1111
url: https://mruby.org
1212
repository: https://github.com/mruby/mruby.github.io
1313
include: _index.html
14+
plugins:
15+
- jekyll-sitemap
1416
exclude:
1517
- Gemfile
1618
- Gemfile.lock

0 commit comments

Comments
 (0)