From 6cf174d7e574c22d161b6df1c8b74e73ab211bbb Mon Sep 17 00:00:00 2001 From: fukunee Date: Wed, 13 May 2026 21:23:35 +0800 Subject: [PATCH] Update site title to FuKun.Net and add favicon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the "最新文章" heading and configure He --- hugo.yaml | 9 +++------ layouts/hextra-home.html | 5 ----- static/favicon.svg | 26 ++++++++++++++++++++++++++ static/images/favicon.svg | 26 ++++++++++++++++++++++++++ 4 files changed, 55 insertions(+), 11 deletions(-) create mode 100644 static/favicon.svg create mode 100644 static/images/favicon.svg diff --git a/hugo.yaml b/hugo.yaml index a048fbe..4642c30 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,5 +1,5 @@ baseURL: "https://fukunee.net/" -title: "FuKun" +title: "FuKun.Net" enableRobotsTXT: true enableGitInfo: false @@ -16,7 +16,7 @@ languages: label: 简体中文 locale: zh-CN weight: 1 - title: FuKun + title: FuKun.Net theme: hextra @@ -56,10 +56,7 @@ params: images: - /images/logo.svg - # Favicon 路径 - favicon: - dark: /images/logo-dark.svg - light: /images/logo.svg + # Favicon 由 Hextra 硬编码路径 static/favicon.svg # 导航栏 navbar: diff --git a/layouts/hextra-home.html b/layouts/hextra-home.html index 3a7e374..4290405 100644 --- a/layouts/hextra-home.html +++ b/layouts/hextra-home.html @@ -12,11 +12,6 @@ := (T "readMore") | default "Read more →" }}
-

- 📝 最新文章 -

{{- range $recent }}

diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..a80c1ae --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/images/favicon.svg b/static/images/favicon.svg new file mode 100644 index 0000000..a80c1ae --- /dev/null +++ b/static/images/favicon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +