From f5b1c4d1429356ebcef2a8cdd7b5d311a9477a6c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 17 Mar 2023 01:03:00 +0900 Subject: feat(nuldoc): do not include hl.css in /posts/ and /tags/* --- nuldoc-src/templates/post_list.ts | 1 - nuldoc-src/templates/tag.ts | 1 - 2 files changed, 2 deletions(-) (limited to 'nuldoc-src') diff --git a/nuldoc-src/templates/post_list.ts b/nuldoc-src/templates/post_list.ts index f60eb54..f4a541b 100644 --- a/nuldoc-src/templates/post_list.ts +++ b/nuldoc-src/templates/post_list.ts @@ -46,7 +46,6 @@ export default async function convertPostList( linkElement("icon", "/favicon.svg", "image/svg+xml"), el("title", [], text(`${doc.title} | ${config.blog.siteName}`)), await stylesheetLinkElement("/style.css", config), - await stylesheetLinkElement("/hl.css", config), ); const body = el( "body", diff --git a/nuldoc-src/templates/tag.ts b/nuldoc-src/templates/tag.ts index 4038b69..a53e59d 100644 --- a/nuldoc-src/templates/tag.ts +++ b/nuldoc-src/templates/tag.ts @@ -53,7 +53,6 @@ export default async function convertTag( linkElement("icon", "/favicon.svg", "image/svg+xml"), el("title", [], text(`${doc.title} | ${config.blog.siteName}`)), await stylesheetLinkElement("/style.css", config), - await stylesheetLinkElement("/hl.css", config), ]; const head = el("head", [], ...headChildren); const body = el( -- cgit v1.2.3-70-g09d2