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 - public/posts/index.html | 1 - public/tags/conference/index.html | 1 - public/tags/cpp/index.html | 1 - public/tags/cpp17/index.html | 1 - public/tags/note-to-self/index.html | 1 - public/tags/php/index.html | 1 - public/tags/phpcon/index.html | 1 - public/tags/phperkaigi/index.html | 1 - public/tags/python/index.html | 1 - public/tags/python3/index.html | 1 - public/tags/ruby/index.html | 1 - public/tags/ruby3/index.html | 1 - public/tags/rust/index.html | 1 - public/tags/vim/index.html | 1 - 16 files changed, 16 deletions(-) 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( diff --git a/public/posts/index.html b/public/posts/index.html index 0488aa2..2b08678 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -9,7 +9,6 @@ 投稿一覧 | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/conference/index.html b/public/tags/conference/index.html index 7c94734..cd69fbb 100644 --- a/public/tags/conference/index.html +++ b/public/tags/conference/index.html @@ -10,7 +10,6 @@ カンファレンス | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/cpp/index.html b/public/tags/cpp/index.html index fc2b6a7..51329c9 100644 --- a/public/tags/cpp/index.html +++ b/public/tags/cpp/index.html @@ -10,7 +10,6 @@ C++ | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/cpp17/index.html b/public/tags/cpp17/index.html index d6f0425..8c3b379 100644 --- a/public/tags/cpp17/index.html +++ b/public/tags/cpp17/index.html @@ -10,7 +10,6 @@ C++ 17 | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/note-to-self/index.html b/public/tags/note-to-self/index.html index 4763adb..8e91c23 100644 --- a/public/tags/note-to-self/index.html +++ b/public/tags/note-to-self/index.html @@ -10,7 +10,6 @@ 備忘録 | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/php/index.html b/public/tags/php/index.html index 7ff2e8d..4f8bbd2 100644 --- a/public/tags/php/index.html +++ b/public/tags/php/index.html @@ -10,7 +10,6 @@ PHP | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/phpcon/index.html b/public/tags/phpcon/index.html index 025b7d2..680a5ea 100644 --- a/public/tags/phpcon/index.html +++ b/public/tags/phpcon/index.html @@ -10,7 +10,6 @@ PHP カンファレンス | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/phperkaigi/index.html b/public/tags/phperkaigi/index.html index 0b11aa8..a7da161 100644 --- a/public/tags/phperkaigi/index.html +++ b/public/tags/phperkaigi/index.html @@ -10,7 +10,6 @@ PHPerKaigi | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/python/index.html b/public/tags/python/index.html index 5719d21..06bec2f 100644 --- a/public/tags/python/index.html +++ b/public/tags/python/index.html @@ -10,7 +10,6 @@ Python | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/python3/index.html b/public/tags/python3/index.html index 82c3c19..9b9badd 100644 --- a/public/tags/python3/index.html +++ b/public/tags/python3/index.html @@ -10,7 +10,6 @@ Python 3 | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/ruby/index.html b/public/tags/ruby/index.html index cdeb79a..825207b 100644 --- a/public/tags/ruby/index.html +++ b/public/tags/ruby/index.html @@ -10,7 +10,6 @@ Ruby | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/ruby3/index.html b/public/tags/ruby3/index.html index a0bd937..9dcc175 100644 --- a/public/tags/ruby3/index.html +++ b/public/tags/ruby3/index.html @@ -10,7 +10,6 @@ Ruby 3 | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/rust/index.html b/public/tags/rust/index.html index 99b812b..b8d83d6 100644 --- a/public/tags/rust/index.html +++ b/public/tags/rust/index.html @@ -10,7 +10,6 @@ Rust | REPL: Rest-Eat-Program Loop -
diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html index 7dda843..7841976 100644 --- a/public/tags/vim/index.html +++ b/public/tags/vim/index.html @@ -10,7 +10,6 @@ Vim | REPL: Rest-Eat-Program Loop -
-- cgit v1.2.3-70-g09d2