Skip to content

Show the corrections email address as the link text - #9

Merged
truegoodcraft merged 1 commit into
mainfrom
claude/fix-correction-link-27qexd
Sep 29, 2026
Merged

truegoodcraft merged 1 commit into
mainfrom
claude/fix-correction-link-27qexd

Conversation

@truegoodcraft

Copy link
Copy Markdown
Member

Before: "Report a correction" was a bare mailto link. In browsers with no mail app set up (common with webmail), clicking it does nothing and the address is never visible.

After: the home page and About page read "Report a correction: kingston@food-help.ca", with the address as the mailto link, so visitors can read or copy it even when clicking does nothing.

How: scripts/lib/web.ts renders the configured corrections.email as the link text in both places. A small style rule lets a long address wrap on narrow screens. No data, privacy, analytics or cache-policy changes. This is shared code, so it reaches Kingston only when Kingston is next released.


Generated by Claude Code

The "Report a correction" link was a bare mailto link, which does nothing
in browsers with no mail app set up. The address is now shown as the link
text on the home page and About page so visitors can read or copy it.
@truegoodcraft truegoodcraft self-assigned this Sep 29, 2026
@truegoodcraft
truegoodcraft marked this pull request as ready for review September 29, 2026 18:30
@truegoodcraft
truegoodcraft merged commit d9026dc into main Sep 29, 2026
3 checks passed
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