« get me outta code hell

remove legacy navbar {href} handler - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-10 20:41:19 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-10 20:41:19 -0400
commitd0abc02e2cf6e5648d1e0c2833bb109fd4976e0e (patch)
tree10f0b359c5195908826d94c8eb164f29212239ab /src
parentc09e733544f8f47850532aecee4d14887ffd83db (diff)
remove legacy navbar {href} handler
this references pathname so it totally makes sense to include
with other url/path-related changes
Diffstat (limited to 'src')
-rw-r--r--src/write/page-template.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/write/page-template.js b/src/write/page-template.js
index 0bf0a98e..6ed9fcf5 100644
--- a/src/write/page-template.js
+++ b/src/write/page-template.js
@@ -1,7 +1,6 @@
 import chroma from 'chroma-js';
 
 import * as html from '../util/html.js';
-import {logWarn} from '../util/cli.js';
 import {getColors} from '../util/colors.js';
 
 import {
@@ -263,11 +262,6 @@ export function generateDocumentHTML(pageInfo, {
           ? to('localized.home')
           : cur.path
           ? to(...cur.path)
-          : cur.href
-          ? (() => {
-              logWarn`Using legacy href format nav link in ${pathname}`;
-              return cur.href;
-            })()
           : null,
       };
       if (attributes.href === null) {