Skip to content

Add "Community" to breadcrumb and tab title#469

Open
jacobaaronyeager wants to merge 4 commits into
developfrom
feature/DIGITAL-772-correct-community-links
Open

Add "Community" to breadcrumb and tab title#469
jacobaaronyeager wants to merge 4 commits into
developfrom
feature/DIGITAL-772-correct-community-links

Conversation

@jacobaaronyeager

@jacobaaronyeager jacobaaronyeager commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Jira ticket

DIGITAL-772

Purpose

Changes dg_breadcrumb.module so that community node breadcrumbs append Community to the current page crumb, matching the H1.
Changes digital_gov.theme so that community node browser titles also use the same node title + Community text.

Deployment and testing

QA/Testing instructions

Navigate to /communities and check out the various communities and see if the breadcrumb and browser titles have the word Community properly appended.

Checklist for the Developer

  • A link to the JIRA ticket has been included above.
  • No merge conflicts exist with the target branch.
  • Automated tests have passed on this PR.
  • A reviewer has been designated.
  • Deployment and testing steps have been documented above, if applicable.

Checklist for the Peer Reviewers

  • The file changes are relevant to the task objective.
  • Code is readable and includes appropriate commenting.
  • Code standards and best practices are followed.
  • QA/Test steps were successfully completed, if applicable.
  • Applicable logs are free of errors.

@jacobaaronyeager jacobaaronyeager requested a review from akf July 8, 2026 20:38
@jacobaaronyeager jacobaaronyeager changed the title it's communities all the way down Add "Community" to breadcrumb and tab title Jul 8, 2026

@akf akf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this solves the problem and doesn't introduce new problems! Given that ...

Hear me out, what if we took both of these out and instead tracked down where "Community" is being added to the H1, and removed that. Then we have the content editors update the page headings.

I think that would be more understandable to everyone long-term.

I see the word being added in node/node--community.html.twig and that also looks like the only thing append_title_text is used for, so we could also remove that as a parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants