Skip to content

Commit

Permalink
Resolve bug regarding backslashes in convert feature (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
ong6 committed Feb 2, 2022
1 parent ab66b06 commit 580c045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Site/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class Site {
.filter(addressablePage => !addressablePage.src.startsWith('_'))
.forEach((page) => {
const addressablePagePath = path.join(this.rootPath, page.src);
const relativePagePathWithoutExt = fsUtil.removeExtension(
const relativePagePathWithoutExt = fsUtil.removeExtensionPosix(
path.relative(this.rootPath, addressablePagePath));
const pageName = _.startCase(fsUtil.removeExtension(path.basename(addressablePagePath)));
const pageUrl = `{{ baseUrl }}/${relativePagePathWithoutExt}.html`;
Expand Down

0 comments on commit 580c045

Please sign in to comment.