Skip to content

Commit

Permalink
Adds support for sitemap and robots.txt (alshedivat#337)
Browse files Browse the repository at this point in the history
* Adds support for sitemap

* Adds support for robots.txt
  • Loading branch information
rohandebsarkar authored and pecey committed Jan 27, 2023
1 parent c12b3f7 commit 2062d0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ group :jekyll_plugins do
gem 'jekyll-paginate-v2'
gem 'jekyll-scholar'
gem 'jekyll-twitter-plugin'
gem 'jekyll-sitemap'
gem 'jemoji'
gem 'unicode_utils'
gem 'webrick'
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ plugins:
- jekyll-paginate-v2
- jekyll/scholar
- jekyll-twitter-plugin
- jekyll-sitemap
- jemoji

# Extras
Expand Down
7 changes: 7 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
permalink: /robots.txt
---
User-agent: *
Disallow:

Sitemap: {{ site.baseurl | prepend: site.url }}/sitemap.xml

0 comments on commit 2062d0d

Please sign in to comment.