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 Jul 21, 2021
1 parent 8fe464d commit 60fc64b
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 @@ -140,6 +140,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 60fc64b

Please sign in to comment.