From e3eded8eb45439af302b602e8ffe430fa9799a58 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 5 Mar 2025 23:46:53 -0800 Subject: Add social icons, and fix lang params The correct hierarchy should be `languagse..params.homeInfoParams`. I skipped the `params` part earlier, no idea why it still built fine on CF Pages --- hugo.yaml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 758e8c8..2b60550 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -32,12 +32,16 @@ languages: - name: Search url: /search weight: 10 - - name: GitHub - url: https://github.com/rtk0c - homeInfoParams: - Title: "rtk0c's hut" - Content: > - Technical findings, life stories, and projects. I hope there's at least some interesting stuff in here. + params: + homeInfoParams: + Title: "rtk0c's hut" + Content: > + Technical findings, life stories, and projects. I hope there's at least some interesting stuff in here. + zh: + params: + homeInfoParams: + Title: "rtk0c的小窝" + Content: > params: env: development @@ -45,11 +49,19 @@ params: keywords: [Blog, Portfolio] author: rtk0c + socialIcons: + - name: "github" + url: "https://github.com/rtk0c" + - name: "reddit" + url: "http://reddit.com/u/rtk0c" + - name: "twitter" + url: "https://x.com/rtk0c1" + defaultTheme: auto disableThemeToggle: false + displayFullLangName: true ShowShareButtons: false ShowReadingTime: false - displayFullLangName: true ShowPostNavLinks: true ShowBreadCrumbs: true ShowCodeCopyButtons: true -- cgit v1.3.1