Skip to content

Commit 1857373

Browse files
committed
the new map topic handling now needs context.currentPath
1 parent 794b28b commit 1857373

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/helpers/links-checker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ async function buildPathContext (initialContext, page, permalink) {
237237
const pathContext = {
238238
page,
239239
currentVersion: permalink.pageVersion,
240-
relativePath: permalink.relativePath
240+
relativePath: permalink.relativePath,
241+
currentPath: permalink.href
241242
}
242243

243244
// Combine it with the initial context object that has pages, redirects, etc.

0 commit comments

Comments
 (0)