From b159669b8d8e02f2d0172dfc1eb9dbca9a8cd956 Mon Sep 17 00:00:00 2001 From: KureShisen <1628264549@qq.com> Date: Mon, 26 Aug 2024 21:10:01 +0800 Subject: [PATCH] change github and twitter --- config/_default/_languages.toml | 2 +- config/_default/config.toml | 2 +- config/_default/menu.toml | 16 ---------------- config/_default/module.toml | 2 -- 4 files changed, 2 insertions(+), 20 deletions(-) diff --git a/config/_default/_languages.toml b/config/_default/_languages.toml index 901aea9..367c1aa 100644 --- a/config/_default/_languages.toml +++ b/config/_default/_languages.toml @@ -1,6 +1,6 @@ # Rename this file to languages.toml to enable multilingual support [en] -languageName = "English" +languageName = "Chinese" languagedirection = "ltr" title = "Example Site" weight = 1 diff --git a/config/_default/config.toml b/config/_default/config.toml index ffdf378..6ae0843 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,6 +1,6 @@ # Change baseurl before deploy baseurl = "https://demo.stack.jimmycai.com" -languageCode = "en-us" +languageCode = "zh-cn" paginate = 5 title = "Hugo Theme Stack Starter" diff --git a/config/_default/menu.toml b/config/_default/menu.toml index 20bdb9e..c8cd63a 100644 --- a/config/_default/menu.toml +++ b/config/_default/menu.toml @@ -6,19 +6,3 @@ #[main.params] #icon = "home" #newtab = true - -[[social]] -identifier = "github" -name = "GitHub" -url = "https://github.com/CaiJimmy/hugo-theme-stack" - -[social.params] -icon = "brand-github" - -[[social]] -identifier = "twitter" -name = "Twitter" -url = "https://twitter.com" - -[social.params] -icon = "brand-twitter" diff --git a/config/_default/module.toml b/config/_default/module.toml index f13256c..e69de29 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,2 +0,0 @@ -[[imports]] -path = "github.com/CaiJimmy/hugo-theme-stack/v3"