Links should not be rendered for pages that are hidden (due to language settings)
If there is a link to a hidden page, this link is not rendered as a link (only the anchor text is displayed as plain text).
What I would expect¶
For any page that will not be visible in the current language (and causes a 404), the link should not be rendered as clickable link.
Current behaviour¶The following are rendered as links:
- Link target has "Hide default translation of page" set + default language
- Link target has "Hide page if no translation for current language exists" set + use language for which page has no translation
- Make sure "Show hidden pages" is not selected in admin panel
- Create links for cases above and view page.