Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link checker: Error with internal links #51

Open
frase-git opened this issue Oct 5, 2021 · 2 comments
Open

Link checker: Error with internal links #51

frase-git opened this issue Oct 5, 2021 · 2 comments

Comments

@frase-git
Copy link

(XH 1.7.5)

The link checker reports for all internal links:

Error: Broken internal link, anchor does not exist.

This is actually logical for a onepager and probably can't be changed. But I want to mention it here anyway - maybe you'll have an idea about it someday.

@cmb69
Copy link
Owner

cmb69 commented Oct 6, 2021

Actually, that is a conceptional flaw of the link checker wrt. internal pages. It checks whether the page exists, and if the URL contains a fragment, whether a respective anchor is contained on the page or the template. Of course, contents created by plugin calls are ignored, as well page specific templates; and unpublished pages are not properly handled either (nor redirects etc.) Unless that will be fixed, the best thing I can do here is to document the limitation regarding Onepage_XH.

@frase-git
Copy link
Author

Unless that will be fixed, the best thing I can do here is to document the limitation regarding Onepage_XH.

Okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants