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

"backlinks" throws if no back links are present #76

Closed
JN-Jones opened this issue Aug 1, 2024 · 1 comment
Closed

"backlinks" throws if no back links are present #76

JN-Jones opened this issue Aug 1, 2024 · 1 comment

Comments

@JN-Jones
Copy link

JN-Jones commented Aug 1, 2024

If a page isn't linked anywhere calling backlinks throws an error: TypeError: Cannot read properties of undefined (reading 'map'). Seems like page.linkshere should fall to an empty array in that case.

@JN-Jones
Copy link
Author

JN-Jones commented Aug 1, 2024

Seems the same is true for transclusions

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

No branches or pull requests

1 participant