Skip to content

Commit

Permalink
Add sitemap generation
Browse files Browse the repository at this point in the history
Excluding internal folder and events-draft collection
  • Loading branch information
bernhold committed Nov 13, 2023
1 parent 12707a6 commit aff7cf6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ group :jekyll_plugins do
gem "jekyll-pluralize"
gem "jekyll-redirect-from"
gem 'jekyll-algolia', '~> 1.0'
gem "jekyll-sitemap"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ GEM
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.6.3)
Expand Down Expand Up @@ -124,6 +126,7 @@ DEPENDENCIES
jekyll-paginate-v2
jekyll-pluralize
jekyll-redirect-from
jekyll-sitemap
minima (~> 2.5)
tzinfo (>= 1, < 3)
tzinfo-data
Expand Down
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ github_username: ideas-productivity
# Build settings
theme: minima
plugins:
- jekyll-sitemap
- jekyll-feed
- jekyll-pluralize
- jekyll-redirect-from
Expand Down Expand Up @@ -62,6 +63,15 @@ defaults:
type: "events-draft"
values:
layout: "event"
sitemap: false
- scope:
path: "internal"
values:
sitemap: false
- scope:
path: "internal/**"
values:
sitemap: false

feed:
collections:
Expand Down

0 comments on commit aff7cf6

Please sign in to comment.