localized urls broken in markdown #1

Open
opened 2024-10-04 20:23:18 +02:00 by fugi · 0 comments
Owner

Urls always become german urls in markdown, because page.lang seems to be set to the default lang ("de") when calling locale_url during markdown transformation.

page.lang was also incorrect when I tried to call the localized filter (which accesses page.lang) in program-ical.11ty.js's render method.

Needs to be investigated further, if the upgrade to Eleventy v3 does not happen to fix it.

Urls always become german urls in markdown, because `page.lang` seems to be set to the default lang ("de") when calling `locale_url` during markdown transformation. `page.lang` was also incorrect when I tried to call the `localized` filter (which accesses `page.lang`) in program-ical.11ty.js's render method. Needs to be investigated further, if the upgrade to Eleventy v3 does not happen to fix it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FSR/ese-website#1
No description provided.