diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index d9b2a5b..3787394 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -1,10 +1,8 @@ baseURL: https://sunyz.net/ -languageCode: zh-cn -title: Seven's Blog theme: hugo-theme-stack defaultContentLanguage: "zh-cn" -hasCJKLanguage: true +defaultContentLanguageInSubdir: true services: disqus: diff --git a/config/_default/languages.en.yaml b/config/_default/languages.en.yaml new file mode 100644 index 0000000..c095d59 --- /dev/null +++ b/config/_default/languages.en.yaml @@ -0,0 +1,14 @@ +languageCode: en +languageDirection: ltr +languageName: English +contentDir: content/en +hasCJKLanguage: false + +title: Seven's Blog + +params: + sidebar: + subtitle: The next time we may meet anywhere, but we are always as brilliant as a sea of stars. + article: + license: + default: Licensed under CC BY-NC-SA 4.0 diff --git a/config/_default/languages.zh-cn.yaml b/config/_default/languages.zh-cn.yaml new file mode 100644 index 0000000..b9897d6 --- /dev/null +++ b/config/_default/languages.zh-cn.yaml @@ -0,0 +1,14 @@ +languageCode: zh-cn +languageDirection: ltr +languageName: Chinese (Simplified) +contentDir: content/zh-cn +hasCJKLanguage: true + +title: Seven 的日记本 + +params: + sidebar: + subtitle: 下一次相遇可能在任何地方,但我们始终灿烂如星海。 + article: + license: + default: 使用 CC BY-NC-SA 4.0 协议授权 \ No newline at end of file diff --git a/config/_default/params.yaml b/config/_default/params.yaml index c18cbcd..604ae48 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -12,7 +12,6 @@ dateFormat: sidebar: emoji: 🍁 - subtitle: 下一次相遇可能在任何地方,但我们始终灿烂如星海。 avatar: enabled: true local: false @@ -23,7 +22,6 @@ article: readingTime: true license: enabled: true - default: Licensed under CC BY-NC-SA 4.0 colorScheme: toggle: true diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 636abae..0000000 --- a/content/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -menu: - main: - name: Home - weight: 1 - params: - icon: home ---- \ No newline at end of file diff --git a/content/en/_index.md b/content/en/_index.md new file mode 100644 index 0000000..752f7bc --- /dev/null +++ b/content/en/_index.md @@ -0,0 +1,8 @@ +--- +menu: + main: + name: Home + weight: 1 + params: + icon: home +--- \ No newline at end of file diff --git a/content/en/page/about/about.md b/content/en/page/about/about.md new file mode 100644 index 0000000..60c6f17 --- /dev/null +++ b/content/en/page/about/about.md @@ -0,0 +1,12 @@ +--- +title: About +slug: about + +menu: + main: + weight: 5 + params: + icon: user +--- + +## 🏗️ Just a minute.. \ No newline at end of file diff --git a/content/en/page/archives/archives.md b/content/en/page/archives/archives.md new file mode 100644 index 0000000..3cbd66a --- /dev/null +++ b/content/en/page/archives/archives.md @@ -0,0 +1,11 @@ +--- +title: Archives +layout: archives +slug: archives + +menu: + main: + weight: 2 + params: + icon: archives +--- \ No newline at end of file diff --git a/content/en/page/links/links.md b/content/en/page/links/links.md new file mode 100644 index 0000000..122dcfc --- /dev/null +++ b/content/en/page/links/links.md @@ -0,0 +1,26 @@ +--- +title: Links + +menu: + main: + weight: 4 + params: + icon: link + +links: + - title: 🍬 Clansty + description: An adorable and charming catgirl. + website: https://nyac.at + - title: 🐺 QYL27 + description: Half a teenage girl, travelling around the world on Bitstream. + website: https://www.qy.al + - title: 🐱 JackieCat + description: + website: https://jackiecat.top + - title: 🎨 TaranakiNeko + description: A cat lying on the keyboard. + website: https://nekoq.top + - title: 👺 Winslow S.E.M. + description: A Tengu Youkai! + website: https://winsloweric.com +--- \ No newline at end of file diff --git a/content/en/page/search/search.md b/content/en/page/search/search.md new file mode 100644 index 0000000..55b7f04 --- /dev/null +++ b/content/en/page/search/search.md @@ -0,0 +1,14 @@ +--- +title: Search +slug: search +layout: search +outputs: + - html + - json + +menu: + main: + weight: 3 + params: + icon: search +--- \ No newline at end of file diff --git a/content/en/post/hello-world.md b/content/en/post/hello-world.md new file mode 100644 index 0000000..ec47434 --- /dev/null +++ b/content/en/post/hello-world.md @@ -0,0 +1,3 @@ +--- +title: Once again, "Hello World!" +--- diff --git a/content/page/about/about.md b/content/page/about/about.md deleted file mode 100644 index e4357ab..0000000 --- a/content/page/about/about.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "About" -slug: "about" -menu: - main: - weight: 5 - params: - icon: user ---- - -## 🏗️ 页面施工中... 很快就好... \ No newline at end of file diff --git a/content/page/archives/archives.md b/content/page/archives/archives.md deleted file mode 100644 index 62b20cf..0000000 --- a/content/page/archives/archives.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Archives" -layout: "archives" -slug: "archives" -menu: - main: - weight: 2 - params: - icon: archives ---- \ No newline at end of file diff --git a/content/page/search/search.md b/content/page/search/search.md deleted file mode 100644 index 7507b68..0000000 --- a/content/page/search/search.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "Search" -slug: "search" -layout: "search" -outputs: - - html - - json -menu: - main: - weight: 3 - params: - icon: search ---- \ No newline at end of file diff --git a/content/post/hello-world-again.md b/content/post/hello-world-again.md deleted file mode 100644 index a9be0ba..0000000 --- a/content/post/hello-world-again.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: (又一次的)世界,你好! ---- diff --git a/content/zh-cn/_index.md b/content/zh-cn/_index.md new file mode 100644 index 0000000..8aeb182 --- /dev/null +++ b/content/zh-cn/_index.md @@ -0,0 +1,8 @@ +--- +menu: + main: + name: 首页 + weight: 1 + params: + icon: home +--- \ No newline at end of file diff --git a/content/zh-cn/page/about/about.md b/content/zh-cn/page/about/about.md new file mode 100644 index 0000000..4555f42 --- /dev/null +++ b/content/zh-cn/page/about/about.md @@ -0,0 +1,12 @@ +--- +title: "关于我" +slug: "关于我" + +menu: + main: + weight: 5 + params: + icon: user +--- + +## 🏗️ 很快就好... \ No newline at end of file diff --git a/content/zh-cn/page/archives/archives.md b/content/zh-cn/page/archives/archives.md new file mode 100644 index 0000000..9158c0b --- /dev/null +++ b/content/zh-cn/page/archives/archives.md @@ -0,0 +1,11 @@ +--- +title: 存档 +layout: archives +slug: 存档 + +menu: + main: + weight: 2 + params: + icon: archives +--- \ No newline at end of file diff --git a/content/page/friends/friends.md b/content/zh-cn/page/links/links.md similarity index 56% rename from content/page/friends/friends.md rename to content/zh-cn/page/links/links.md index 3cbdde4..8deaca8 100644 --- a/content/page/friends/friends.md +++ b/content/zh-cn/page/links/links.md @@ -1,25 +1,26 @@ --- -title: Links +title: 友链 + +menu: + main: + weight: 4 + params: + icon: link + links: - title: 🍬 凌莞 - description: 一只可爱的猫姐姐 + description: 一只可爱的猫娘姐姐 website: https://nyac.at - title: 🐺 秋雨落 - description: 二分之一少女,乘着比特流环游世界~ + description: 二分之一少女,乘着比特流环游世界 website: https://www.qy.al - title: 🐱 JackieCat description: website: https://jackiecat.top - - title: 🎨 TaranakiNeko - description: A cat lying on the keyboard. + - title: 🎨 千畔 + description: 一只躺在键盘上的猫猫 website: https://nekoq.top - - title: 💊 Winslow - description: 是天狗妖怪! + - title: 👺 温丝洛 + description: 是天狗妖怪 website: https://winsloweric.com - -menu: - main: - weight: 1 - params: - icon: link --- \ No newline at end of file diff --git a/content/zh-cn/page/search/search.md b/content/zh-cn/page/search/search.md new file mode 100644 index 0000000..14e70c7 --- /dev/null +++ b/content/zh-cn/page/search/search.md @@ -0,0 +1,14 @@ +--- +title: 搜索 +slug: 搜索 +layout: search +outputs: + - html + - json + +menu: + main: + weight: 3 + params: + icon: search +--- \ No newline at end of file diff --git a/content/zh-cn/post/hello-world.md b/content/zh-cn/post/hello-world.md new file mode 100644 index 0000000..4be3a16 --- /dev/null +++ b/content/zh-cn/post/hello-world.md @@ -0,0 +1,3 @@ +--- +title: 再一次,“你好,世界!” +---