summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2019-09-14 12:57:55 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2019-09-14 12:57:55 +0800
commit563c82dd5201bef76f5a9fb683c097bc9127d001 (patch)
treea54038993c30640b6bd006800f0d8b03015c10a0
parent6fee628b13a544c10916972f370c45350974375d (diff)
feat: add website sitemap
-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