index on list

This commit is contained in:
komeno 2025-11-11 15:06:51 +09:00
parent acd7bc0e52
commit 52e8c8045f

View File

@ -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;
}