How to link to a translated (or not) page from inside a theme partial?

Hi there,

I’m translating by content directory and my page example is “kontakt.md” which is linked to “contact.md” with a translationKey.

How can I link to a page from inside my “footer.html” partial?

content/en/contact.md
content/de/kontakt.md
themes/mytheme/layouts/partials/footer.html

Via .Site.GetPage “kontakt” I get the “kontakt.md” page object if the current language is “de” but I don’t get it if the current language is “en” (result is “nopPage” in this case). And vice versa.

Is it possible to get a page by its translationKey?