Add Year-Based Routing for Provincial and Municipal Jurisdictions#254
Merged
Add Year-Based Routing for Provincial and Municipal Jurisdictions#254
Conversation
- New URL structure: /provincial/{province}/{year} and /municipal/{province}/{municipality}/{year}
- Non-year URLs render latest year without redirect
- Canonical links point to year-specific URLs for SEO
- 301 redirects for old URL patterns
- Consolidated duplicate page logic into shared components
Dokploy Preview Deployment
|
21 tasks
Provincial data folders now use the fiscal year END date: - FY 2023-24 data -> 2024/ folder - FY 2024-25 data -> 2025/ folder This makes URLs like /en/provincial/alberta/2025 represent the 2024-25 fiscal year, which is more intuitive. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR rebases and updates PR #228 by @jclarkin to resolve merge conflicts with main.
Original PR: #228
Changes
/en/provincial/{province}/{year}(e.g.,/en/provincial/ontario/2023)/en/municipal/{province}/{municipality}/{year}JurisdictionPageContentcomponent for code reuseSpendingFullScreencomponent for mobile viewsConflict Resolution
Closes #228
🤖 Generated with Claude Code