projects
/
squeep-html-template-helper
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logoUrl now resolves the proper path depth, for path depths > 1
[squeep-html-template-helper]
/
lib
/
template-helper.js
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) {
* @returns {String}
*/
function htmlHeader(pagePathLevel, ctx, options) {
- const rootPathPfx = '../'.repeat(
Math.max(pagePathLevel - 1, 0)
);
+ const rootPathPfx = '../'.repeat(
pagePathLevel
);
const {
logoUrl = '',
pageTitle = '',
const {
logoUrl = '',
pageTitle = '',