projects
/
squeep-html-template-helper
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2489b22
)
logoUrl now resolves the proper path depth, for path depths > 1
author
Justin Wind
<justin.wind+git@gmail.com>
Sat, 15 Jan 2022 23:09:26 +0000
(15:09 -0800)
committer
Justin Wind
<justin.wind+git@gmail.com>
Sat, 15 Jan 2022 23:09:26 +0000
(15:09 -0800)
lib/template-helper.js
patch
|
blob
|
history
diff --git
a/lib/template-helper.js
b/lib/template-helper.js
index 122a3a09783b8aad2306d238bb134dc02bfb6c47..af9547e22eed36293bdf6eadaa138658389c8dbc 100644
(file)
--- a/
lib/template-helper.js
+++ b/
lib/template-helper.js
@@
-145,7
+145,7
@@
${spacer}</nav>` : '';
* @returns {String}
*/
function htmlHeader(pagePathLevel, ctx, options) {
- const rootPathPfx = '../'.repeat(
Math.max(pagePathLevel - 1, 0)
);
+ const rootPathPfx = '../'.repeat(
pagePathLevel
);
const {
logoUrl = '',
pageTitle = '',