From 98a19995a674ca0789493d6069b89ec156ed92c5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 30 May 2024 11:36:31 +0300 Subject: [PATCH] include robots.txt and sitemap generation --- Gemfile | 1 + _config.yml | 4 ++++ robots.txt | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 robots.txt diff --git a/Gemfile b/Gemfile index a1dfbe9..494d3ae 100644 --- a/Gemfile +++ b/Gemfile @@ -9,4 +9,5 @@ gem 'minima' group :jekyll_plugins do gem 'jekyll-feed' gem 'jekyll-seo-tag' + gem 'jekyll-sitemap' end diff --git a/_config.yml b/_config.yml index 40456d6..9bbd037 100644 --- a/_config.yml +++ b/_config.yml @@ -14,3 +14,7 @@ defaults: theme: minima # theme: jekyll-theme-leap-day # theme: jekyll-theme-minimal +plugins: + - jekyll-sitemap +sitemap: + file: "/sitemap.xml" diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..bd34a76 --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Sitemap: https://piraattipuolue.github.com/sitemap.xml