berrypod/lib/berrypod_web/controllers
jamey 0f1135256d add canonical URLs, robots.txt, and sitemap.xml
Canonical: all shop pages now assign og_url (reusing the existing og:url
assign), which the layout renders as <link rel="canonical">. Collection
pages strip the sort param so ?sort=price_asc doesn't create a duplicate
canonical.

robots.txt: dynamic controller disallows /admin/, /api/, /users/,
/webhooks/, /checkout/. Removed robots.txt from static_paths so it
goes through the router instead of Plug.Static.

sitemap.xml: auto-generated from all visible products + categories +
static pages, served as application/xml. 8 tests.

Also updates PROGRESS.md: marks tasks 55, 58, 59, 61, 62 as done.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 21:47:35 +00:00
..
page_html rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
admin_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
cart_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
checkout_controller.ex include browser/os/screen_size in e-commerce analytics events 2026-02-22 21:13:47 +00:00
error_html.ex improve error pages: minimal version when site not live 2026-02-20 22:19:21 +00:00
error_json.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
error_preview_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
health_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
image_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
page_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
page_html.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
seo_controller.ex add canonical URLs, robots.txt, and sitemap.xml 2026-02-23 21:47:35 +00:00
setup_controller.ex fix recovery login crash for users with password set 2026-02-21 22:52:46 +00:00
stripe_webhook_controller.ex fix Stripe webhook crash on struct access 2026-02-21 23:36:21 +00:00
user_session_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00
webhook_controller.ex rename project from SimpleshopTheme to Berrypod 2026-02-18 21:23:15 +00:00