Adds support for sitemap and robots.txt (#337)

* Adds support for sitemap

* Adds support for robots.txt
This commit is contained in:
Rohan Deb Sarkar 2021-07-21 18:41:03 +05:30 committed by GitHub
parent 8fe464d30a
commit 60fc64b924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -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'

View File

@ -140,6 +140,7 @@ plugins:
- jekyll-paginate-v2
- jekyll/scholar
- jekyll-twitter-plugin
- jekyll-sitemap
- jemoji
# Extras

7
robots.txt Normal file
View File

@ -0,0 +1,7 @@
---
permalink: /robots.txt
---
User-agent: *
Disallow:
Sitemap: {{ site.baseurl | prepend: site.url }}/sitemap.xml