From e730436bc057c15548dae7a50bc4dda6d3805bdb Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 6 Feb 2025 11:07:32 +0800 Subject: refactor: simplify site footer - graysacle icon links - remove external link navigation --- assets/css/components/_footer.scss | 3 ++- hugo.yaml | 24 +++++++++--------------- layouts/partials/footer.html | 18 ++++++------------ 3 files changed, 17 insertions(+), 28 deletions(-) diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index b41c0a98..c79feddc 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss @@ -42,7 +42,8 @@ height: 1rem; width: auto; display: inline-block; - border-radius: 100% + border-radius: 100%; + filter: grayscale(1) } } } diff --git a/hugo.yaml b/hugo.yaml index 5b22a274..6f0c697d 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -92,21 +92,15 @@ params: - https://unpkg.com/littlefoot/dist/littlefoot.js - /pagefind/pagefind-ui.js footerLinks: - textLinks: - - name: Home - link: https://www.guhub.cn/ - - name: Ultralime - link: https://www.ultrali.me - iconLinks: - - name: GitHub - link: https://github.com/BigCoke233/geek-death-project - icon: https://image.guhub.cn/uPic/2025/01/NqL5b5.png - - name: BLOGS·CN - link: https://blogscn.fun/ - icon: https://photo.xiangming.site/img/blogscn_icon.png - - name: Travelling - link: https://www.travellings.cn/go.html - icon: https://www.travellings.cn/assets/favicon.png + - name: GitHub + link: https://github.com/BigCoke233/geek-death-project + icon: https://image.guhub.cn/uPic/2025/01/NqL5b5.png + - name: BLOGS·CN + link: https://blogscn.fun/ + icon: https://photo.xiangming.site/img/blogscn_icon.png + - name: Travelling + link: https://www.travellings.cn/go.html + icon: https://www.travellings.cn/assets/favicon.png services: rss: limit: 10 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 012cbc9a..8f19be9f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,20 +2,10 @@ -- cgit v1.2.3