From f3f00934a75a360070a35a9449ed0648afaca849 Mon Sep 17 00:00:00 2001 From: geekifan Date: Sun, 27 Apr 2025 10:52:34 +0800 Subject: [PATCH] fix width of sidebar icons --- hugo.toml | 10 +++++----- layouts/partials/sidebar.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hugo.toml b/hugo.toml index 0347031..10dbc89 100644 --- a/hugo.toml +++ b/hugo.toml @@ -40,31 +40,31 @@ path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5" name = "Home" url = "/" weight = 10 - pre = "fa-solid fa-house" + pre = "fa-house" [[menu.main]] name = "Categories" url = "/categories/" weight = 20 - pre = "fa-solid fa-stream" + pre = "fa-stream" [[menu.main]] name = "Tags" url = "/tags/" weight = 30 - pre = "fa-solid fa-tags" + pre = "fa-tags" [[menu.main]] name = "Archives" url = "/archives/" weight = 40 - pre = "fa-solid fa-archive" + pre = "fa-archive" [[menu.main]] name = "About" url = "/about/" weight = 50 - pre = "fa-solid fa-info-circle" + pre = "fa-info-circle" [params] theme_version = "5.2.0" diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index f341783..564a4f7 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -24,7 +24,7 @@ {{ range .Site.Menus.main }}