feat: add website sitemap

This commit is contained in:
Jeffrey Tse 2019-09-14 12:57:55 +08:00
parent 6fee628b13
commit 563c82dd52
2 changed files with 5 additions and 0 deletions

View file

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

View file

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