fix(hub): footer vertical links + all-caps brand name - #118
Merged
Conversation
Two fixes on the main site, both in the shared core templates: - Footer "Services" column listed the five verticals but every entry linked to the generic /services/ hub page. Honour each Service row's `url` (already set to /financial/, /construction/, …) so the links go to the right vertical, matching what the home page already does. Falls back to /services/ when a service has no url. - Render the brand name in all capitals where it shows as the wordmark — navbar, mobile nav, footer logo, and the footer copyright — via the `upper` filter. Title tags and meta keep their natural case. Vertical legal names are already uppercase, so only the hub is affected. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 28, 2026
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.
What
Two fixes on the main site (shared
coretemplates):1. Footer vertical links
The footer "Services" column lists the five verticals — but every entry linked to the generic
/services/hub page. They now honour eachServicerow'surl(already set to/financial/,/construction/, …), so:/services//financial//services//construction//services//energies//services//farming//services//investments/Falls back to
/services/when a service has nourl. (The home page already linked correctly — only the footer was stale.)2. All-caps brand name
Per the client, the brand name renders in capitals where it's the wordmark — navbar, mobile nav, footer logo, footer copyright — via the
upperfilter. Page<title>/meta keep their natural case. Vertical legal names are already uppercase, so only the hub is affected.Checks
ruffclean ·black --checkclean ·manage.py checkclean · 585 tests pass (added footer link + uppercase tests inapps/hub/tests/test_views.py)🤖 Generated with Claude Code