summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config.yml4
-rw-r--r--jekyll-theme-yat.gemspec1
2 files changed, 5 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml
index b8ce4a4..ba070b4 100644
--- a/_config.yml
+++ b/_config.yml
@@ -28,6 +28,9 @@ yat:
# Google analytics
# google_analytics: [Tracking ID]
+# If you want to generate website sitemap, you can set true
+# sitemap: true
+
# Translate languges
# langs refer to https://cloud.google.com/translate/docs/languages
# translate_langs:
@@ -109,4 +112,5 @@ markdown: kramdown
plugins:
- jekyll-feed
- jekyll-seo-tag
+ - jekyll-sitemap
- jekyll-paginate
diff --git a/jekyll-theme-yat.gemspec b/jekyll-theme-yat.gemspec
index 8f3d8ea..de35ecf 100644
--- a/jekyll-theme-yat.gemspec
+++ b/jekyll-theme-yat.gemspec
@@ -20,5 +20,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "jekyll", "~> 3.8"
spec.add_runtime_dependency "jekyll-feed", "~> 0.9"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1"
+ spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
end