Skip to content

Fix the about page after merging the German version - #25

Merged
PatrickLaabs merged 1 commit into
mainfrom
claude/project-thread-bnvr23
Oct 20, 2026
Merged

PatrickLaabs merged 1 commit into
mainfrom
claude/project-thread-bnvr23

Conversation

@PatrickLaabs

Copy link
Copy Markdown
Owner

Requested by PatrickLaabs · project thread

Before: on main, /about answers 500 (index of untyped nil in the template), because the merge of #23 and #24 left the about handler without the language data the template now needs. The ~/about link in the nav was also lost in the merge.

After: /about works again, and /de/about exists. If blog/about.de.md is present it is shown there; until then /de/about shows the English page with the note "Diese Seite gibt es nur auf Englisch." and a canonical link to /about. The nav link is back and points to the about page in the current language.

How: the about page is loaded like posts, one version per language (about.md, about.<lang>.md), and its route is registered per language through the same pageData as the other pages.


Generated by Claude Code

Merging the about page with the language support left /about rendering
without the language data the template now needs, so it answered 500,
and the nav link to it was lost in the merge.

/about and /de/about now go through the same language handling as
posts: about.de.md is picked up when it exists, otherwise /de/about
shows the English page with a note and a canonical link to /about. The
nav link is back and points to the page in the current language.
@PatrickLaabs PatrickLaabs self-assigned this Oct 20, 2026
@PatrickLaabs
PatrickLaabs merged commit f47d00a into main Oct 20, 2026
1 check passed
@PatrickLaabs
PatrickLaabs deleted the claude/project-thread-bnvr23 branch October 20, 2026 17:28
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.

1 participant