Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
[build.environment]
# extra environment variables if needed.

# we need to manually copy the 404 page over for now, in every environment
# cf https://github.com/shift-org/shift-docs/issues/862
[context.deploy-preview]
# -D builds draft content for deploy previews
# ( the doubledash is needed to pass the argument through to hugo )
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"deploy": "concurrently --max-processes 1 -P 'npm:deploy:hugo -- {@}' 'npm:deploy:vite' --",
"deploy:hugo": "exec-bin bin/hugo/hugo -s site",
"deploy:vite": "npm -w cal run deploy",
"postdeploy": "cp site/public/404/index.html site/public/404.html",


"postinstall": "hugo-installer --version 0.152.2",
"test": "npm -w app test --",

Expand Down
11 changes: 9 additions & 2 deletions site/content/404.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
---
title: 'Page not found'
weight: '1'
# netlify serves this file for any unmatched url, so it has to
# land at /404.html rather than hugo's default /404/index.html.
# ( _default/list.html redirects there too. )
url: '/404.html'
# ... and a "page not found" page has no business in the sitemap.
sitemap:
disable: true
---
Whoops! I think your chain broke AND you got a flat tire at the same time.

Don't worry! We'll help you get back on the road pretty quickly. Maybe you're looking for one of these pages?

- [Event Calendar](/calendar)
- [Pedalpalooza Event Calendar](/pedalpalooza-calendar/)
- [Pedalpalooza information](/pages/pedalpalooza)
- [Bike Summer Event Calendar](/bike-summer-calendar/)
- [Bike Summer information](/pages/bike-summer)
- [Breakfast on the Bridges](/pages/bonb)
- [Move By Bike](/pages/mbb)

Expand Down
59 changes: 0 additions & 59 deletions site/themes/s2b_hugo_theme/layouts/404.html

This file was deleted.