Open oupala opened 5 years ago
Hi @davidxmoody,
Do you think you'll have time to add this feature so that metalsmith-broken-link-checker has a more reliable way to check broken links?
I've tried to use metalsmith-broken-link-checker with either metalsmith-redirect and metalsmith-aliases and they are not compatible (I mean metalsmith-broken-link-checker is not compatible with both of these plugins).
metalsmith-broken-link-checker is detecting false positive case where the broken link is due to the redirection by one of the redirection plugin.
A fix has been proposed by @aymericbeaumet and I am providing a test case to check if the fix is working (see above).
After fixing a bug in another module (aymericbeaumet/metalsmith-redirect#19), we discovered that metalsmith broken-link-checker could be improved to add
/index.html
add the end of a link when checking if it does exist.You can check and reproduce the test case here.