Skip to content

Commit

Permalink
Fix: Ignore references to pages that are not included in current gene…
Browse files Browse the repository at this point in the history
…ration.(PacoVK#35)
  • Loading branch information
lex committed Jul 25, 2024
1 parent 275c609 commit 66f32a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transformer/LinkTransformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const rewriteInternalLinks = (
pageTitle = findLinkedPageInTree(
flatPages,
path.join(path.dirname(baseUrl), linkedPageFqfn),
).pageTitle;
)?.pageTitle;
LOGGER.debug(
`Rewrite link to other page with title ${pageTitle} original link was ${href}`,
);
Expand Down

0 comments on commit 66f32a7

Please sign in to comment.