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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +