Skip to content

Commit

Permalink
add a sitemap, allowing pa11y to check the whole site
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwilby committed Nov 8, 2022
1 parent 53e22f6 commit 85cbee2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pa11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Serve site and test with pa11y
run: |
bundle exec jekyll serve --detach
pa11y-ci http://localhost:4000/
pa11y-ci --sitemap http://localhost:4000/sitemap.xml
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ gem "jekyll-redirect-from"
gem "jemoji"

gem "webrick", "~> 1.7"

# Generates a sitemap
gem 'jekyll-sitemap'
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ plugins:
- jekyll-redirect-from
- jekyll-paginate
- jemoji
- jekyll-sitemap
exclude:
- Gemfile
- Gemfile.lock
Expand Down

0 comments on commit 85cbee2

Please sign in to comment.