From 05730977b047945dcbe63302e0aa4a503fc1d826 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 5 Apr 2024 23:37:52 +0900 Subject: [PATCH] fix --- layouts/partials/content.html | 2 +- layouts/partials/navbar.html | 1 - static/css/style.css | 11 +++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 3e025c74..df973671 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -11,7 +11,7 @@ {{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }} - {{ if lt $index 5 }} + {{ if lt $index 1 }}
  • {{.Title}} {{ .Date.Local.Format "2006-01-02" }}
  • {{ else }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 66ea40a9..b8b1c22b 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -5,7 +5,6 @@ diff --git a/static/css/style.css b/static/css/style.css index 13434319..494b211d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1101,3 +1101,14 @@ li.blog-menu { .hotkeys-docs table tbody tr td { border-radius: 4px; } + +li.blog-menu button { + padding:5px 10px; + background-color: #fff; + border: none; +} + +li.blog-menu button:hover { + background-color: #313131; + color: #fff700; +}