You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where it's reporting WARNING Wikilink ([[Stubs]]) found pointing to to non-existent page it is incorrect, the Stubs page does exist and has its alias set.
The text was updated successfully, but these errors were encountered:
The issue here is that I am using alias in my front matter, which wont work, it should be aliases. However, the above code assumes that aliases will be an array, when it could also be a single entry as a string.
One problem down (and a new issue opened) I can see now that there is still an issue:
[@photogabble/wikilinks] WARNING Link (href="/topic/game-development/") found pointing to to non-existent page in:
- ./src/about.njk
[@photogabble/wikilinks] WARNING Link (href="/topic/dos/") found pointing to to non-existent page in:
- ./src/about.njk
I know both of these links are to pages that exist, the question is do they exist at the time when this is looking up their onward location?
It appears the links discovered by their href do not get the isPath flag set on their link object. I have checked and the file being linked to can be looked up by filePathStem so this is a bug.
To fix it the isPath value of a link object must be true if created from an HTML <a> tag.
Edit: getting some weirdness in my debugger for HTMLLinkParser.parseSingle:
That meta value does not match what the code should be doing with the link value.
Where it's reporting
WARNING Wikilink ([[Stubs]]) found pointing to to non-existent page
it is incorrect, the Stubs page does exist and has its alias set.The text was updated successfully, but these errors were encountered: