From 3aff37bcc558d1ca7bc3d9a4aeec9855f9598b1c Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Sat, 15 Jan 2022 15:09:26 -0800 Subject: [PATCH] logoUrl now resolves the proper path depth, for path depths > 1 --- lib/template-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template-helper.js b/lib/template-helper.js index 122a3a0..af9547e 100644 --- a/lib/template-helper.js +++ b/lib/template-helper.js @@ -145,7 +145,7 @@ ${spacer}` : ''; * @returns {String} */ function htmlHeader(pagePathLevel, ctx, options) { - const rootPathPfx = '../'.repeat(Math.max(pagePathLevel - 1, 0)); + const rootPathPfx = '../'.repeat(pagePathLevel); const { logoUrl = '', pageTitle = '', -- 2.43.2