From d0abc02e2cf6e5648d1e0c2833bb109fd4976e0e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 Jan 2023 20:41:19 -0400 Subject: remove legacy navbar {href} handler this references pathname so it totally makes sense to include with other url/path-related changes --- src/write/page-template.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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) { -- cgit 1.3.0-6-gf8a5