From 52e8c8045fea7aa12945104d6797345e794ffa5b Mon Sep 17 00:00:00 2001 From: komeno Date: Tue, 11 Nov 2025 15:06:51 +0900 Subject: [PATCH] index on list --- quartz/styles/custom.scss | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 2e06f7231..d29fb9a7c 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -58,21 +58,3 @@ } } } - -// Hide the index page (Komeno) from "Latest" on ALL pages -// Using multiple approaches to ensure it works -.recent-notes li.recent-li:has(a[href="/"]), -.recent-notes li.recent-li:has(a[href="index"]), -.recent-notes li.recent-li:has(a[href="./index"]), -.recent-notes li.recent-li:has(a[href="../index"]), -.recent-notes li.recent-li:has(a[href*="index"]), -// Also try with the recent-ul class -.recent-ul li:has(a[href="/"]), -.recent-ul li:has(a[href*="index"]) { - display: none !important; -} - -// Fallback: Hide first item in recent notes (if Komeno is always first) -.recent-notes .recent-ul li.recent-li:first-child { - display: none !important; -}