We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9a6690 + 50147f4 commit 90f2b73Copy full SHA for 90f2b73
build.js
@@ -522,7 +522,9 @@ const Builder = function(outBaseDir, options) {
522
}
523
524
function isArticleLink(url) {
525
- return !url.includes('/') && url.endsWith('.html');
+ // Handle both regular html links and html links with anchors in them
526
+ const baseUrl = url.split('#')[0];
527
+ return !baseUrl.includes('/') && baseUrl.endsWith('.html');
528
529
530
// Try top fix relative links. This *should* only
0 commit comments