From 0bc9b9af6a1081cb559a681b77f7120381e76fa8 Mon Sep 17 00:00:00 2001 From: Weaxs <459312872@qq.com> Date: Mon, 11 Mar 2024 19:35:31 +0800 Subject: [PATCH] translate docs/tags/users/content listing page --- .../config/_default/languages.zh-cn.toml | 12 ++++---- exampleSite/config/_default/menus.zh-cn.toml | 16 +++++----- exampleSite/content/_index.zh-cn.md | 29 +++++++++++++++++++ exampleSite/content/docs/_index.zh-cn.md | 0 exampleSite/content/tags/_index.zh-cn.md | 8 +++++ exampleSite/content/users/_index.zh-cn.md | 25 ++++++++++++++++ 6 files changed, 76 insertions(+), 14 deletions(-) create mode 100644 exampleSite/content/_index.zh-cn.md create mode 100644 exampleSite/content/docs/_index.zh-cn.md create mode 100644 exampleSite/content/tags/_index.zh-cn.md create mode 100644 exampleSite/content/users/_index.zh-cn.md diff --git a/exampleSite/config/_default/languages.zh-cn.toml b/exampleSite/config/_default/languages.zh-cn.toml index b53df5ce..b7fa7ecd 100644 --- a/exampleSite/config/_default/languages.zh-cn.toml +++ b/exampleSite/config/_default/languages.zh-cn.toml @@ -1,21 +1,21 @@ languageCode = "zh-cn" -languageName = "中国人" +languageName = "中文(简体)" weight = 2 title = "Blowfish" [params] - displayName = "中国人" + displayName = "中文(简体)" isoCode = "zh-cn" rtl = false - dateFormat = "2 January 2006" + dateFormat = "2006-01-02" logo = "img/blowfish_logo_transparent.png" - description = "A powerful, lightweight theme for Hugo." + description = "一个强大、轻量级的 Hugo 主题。" [author] name = "Blowfish" image = "img/blowfish_logo.png" - headline = "A powerful, lightweight theme for Hugo." - bio = "A powerful, lightweight theme for Hugo." + headline = "一个强大、轻量级的 Hugo 主题。" + bio = "一个强大、轻量级的 Hugo 主题。" links = [ { x-twitter = "https://twitter.com/burufugu" }, { github = "https://github.com/nunocoracao/blowfish" }, diff --git a/exampleSite/config/_default/menus.zh-cn.toml b/exampleSite/config/_default/menus.zh-cn.toml index 3886d5ea..8cd8f67f 100644 --- a/exampleSite/config/_default/menus.zh-cn.toml +++ b/exampleSite/config/_default/menus.zh-cn.toml @@ -11,7 +11,7 @@ # ordered by weight from lowest to highest. [[main]] - name = "Docs" + name = "文档" pageRef = "docs" weight = 10 @@ -21,29 +21,29 @@ weight = 15 [[main]] - name = "Examples" + name = "示例" weight = 20 [[main]] - name = "Samples" + name = "功能示例" parent = "Examples" pageRef = "samples" weight = 16 [[main]] - name = "Showcase" + name = "模板示例" parent = "Examples" pageRef = "examples" weight = 30 [[main]] - name = "Recipes" + name = "部署指南" parent = "Examples" pageRef = "guides" weight = 40 [[main]] - name = "Users" + name = "使用者" pageRef = "users" weight = 90 @@ -81,11 +81,11 @@ # the copyright notice. Configure as per the main menu above. [[footer]] - name = "Tags" + name = "标签" pageRef = "tags" weight = 10 [[footer]] - name = "Authors" + name = "作者" pageRef = "authors" weight = 20 diff --git a/exampleSite/content/_index.zh-cn.md b/exampleSite/content/_index.zh-cn.md new file mode 100644 index 00000000..d29ad4fb --- /dev/null +++ b/exampleSite/content/_index.zh-cn.md @@ -0,0 +1,29 @@ +--- +title: "欢迎来到 Blowfish! :tada:" +description: "此页面是使用 Hugo 的 Blowfish 主题搭建的" +--- + + +
background
的样式示例。
+
+
+