Skip to content

Commit 5162ce3

Browse files
ericmigiclaude
andcommitted
Add sitemap.xml and update robots.txt
Added jekyll-sitemap plugin to automatically generate sitemap.xml for better SEO and search engine indexing. Updated robots.txt to reference the sitemap location. Changes: - Add jekyll-sitemap to Gemfile - Update Gemfile.lock with new dependency - Add jekyll-sitemap to plugins in _config.yml - Update robots.txt to include sitemap URL 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5d28da3 commit 5162ce3

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ruby file: '.ruby-version'
1818
gem 'slugize', '>= 0.0.3'
1919
gem 'jekyll', '>= 3.0.3'
2020
gem 'jekyll-paginate'
21+
gem 'jekyll-sitemap'
2122
gem 'bundler', '>= 1.7.9'
2223
gem 'nokogiri', '>= 1.6.3.1'
2324
gem 'algolia', '>= 3.22.0'

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ GEM
9898
jekyll-paginate (1.1.0)
9999
jekyll-sass-converter (3.1.0)
100100
sass-embedded (~> 1.75)
101+
jekyll-sitemap (1.4.0)
102+
jekyll (>= 3.7, < 5.0)
101103
jekyll-watch (2.2.1)
102104
listen (~> 3.0)
103105
json (2.13.0)
@@ -262,6 +264,7 @@ DEPENDENCIES
262264
htmlentities (>= 4.3.2)
263265
jekyll (>= 3.0.3)
264266
jekyll-paginate
267+
jekyll-sitemap
265268
newrelic_rpm (>= 3.9.8.273)
266269
nokogiri (>= 1.6.3.1)
267270
pygments.rb

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ plugins_dir: plugins/
2727

2828
debug: true
2929

30-
plugins: [jekyll-paginate]
30+
plugins: [jekyll-paginate, jekyll-sitemap]
3131

3232
# Blog Options
3333
permalink: none

source/robots.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
User-agent: *
2-
Allow: /
2+
Allow: /
3+
4+
Sitemap: https://developer.repebble.com/sitemap.xml

0 commit comments

Comments
 (0)