From e49764ae3c3795bcaf17f2bfa4c3effa3f1fd6c4 Mon Sep 17 00:00:00 2001 From: Seven Date: Wed, 1 Jan 2025 15:46:36 +0800 Subject: [PATCH] [+] Add theme submodule --- .gitmodules | 3 +++ config/_default/config.yaml | 4 ++-- themes/hugo-theme-stack | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 160000 themes/hugo-theme-stack diff --git a/.gitmodules b/.gitmodules index e69de29..4cd67be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-theme-stack"] + path = themes/hugo-theme-stack + url = https://git.sunyz.net/realSunyz/hugo-theme-stack diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 08cfda1..c2d060e 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -1,7 +1,7 @@ baseURL: https://sunyz.net/ -theme: +theme: hugo-theme-stack -defaultContentLanguage: "zh-cn" +defaultContentLanguage: "en-us" defaultContentLanguageInSubdir: true services: diff --git a/themes/hugo-theme-stack b/themes/hugo-theme-stack new file mode 160000 index 0000000..087989e --- /dev/null +++ b/themes/hugo-theme-stack @@ -0,0 +1 @@ +Subproject commit 087989e4274f24a472d16d7c35d394a227fed47a