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