diff --git a/Gemfile b/Gemfile index 5a324b1203e5..d87f96d290e5 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/_config.yml b/_config.yml index dbcc9ea49945..17ac991637c3 100644 --- a/_config.yml +++ b/_config.yml @@ -140,6 +140,7 @@ plugins: - jekyll-paginate-v2 - jekyll/scholar - jekyll-twitter-plugin + - jekyll-sitemap - jemoji # Extras diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000000..a450fbe28faa --- /dev/null +++ b/robots.txt @@ -0,0 +1,7 @@ +--- +permalink: /robots.txt +--- +User-agent: * +Disallow: + +Sitemap: {{ site.baseurl | prepend: site.url }}/sitemap.xml