mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
Merge pull request #1325 from Weaxs/translations-v1
🎏 Blowfish translation (zh-cn)
This commit is contained in:
commit
6c47f51936
6 changed files with 76 additions and 14 deletions
|
@ -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" },
|
||||
|
|
|
@ -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
|
||||
|
|
29
exampleSite/content/_index.zh-cn.md
Normal file
29
exampleSite/content/_index.zh-cn.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: "欢迎来到 Blowfish! :tada:"
|
||||
description: "此页面是使用 Hugo 的 Blowfish 主题搭建的"
|
||||
---
|
||||
|
||||
|
||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
||||
{{< icon "triangle-exclamation" >}}
|
||||
</span>
|
||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||
<span class="prose dark:prose-invert"> 这是 <code id="layout">background</code> 的样式示例。</span>
|
||||
<button
|
||||
id="switch-layout-button"
|
||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||
>
|
||||
Switch layout ↻
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
```node
|
||||
npx blowfish-tools
|
||||
```
|
||||
|
||||
{{< youtubeLite id="SgXhGb-7QbU" label="Blowfish-tools demo" >}}
|
||||
|
||||
|
0
exampleSite/content/docs/_index.zh-cn.md
Normal file
0
exampleSite/content/docs/_index.zh-cn.md
Normal file
8
exampleSite/content/tags/_index.zh-cn.md
Normal file
8
exampleSite/content/tags/_index.zh-cn.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: 标签
|
||||
---
|
||||
Blowfish 支持基于 Hugo 的所有分类方法。同时,当前的标签预览页也支持展示自定义内容。
|
||||
|
||||
在这里可以为每个分类添加额外的描述信息。查看下面的[高级标签]({{< ref "advanced" >}})页面,了解更多。
|
||||
|
||||
---
|
25
exampleSite/content/users/_index.zh-cn.md
Normal file
25
exampleSite/content/users/_index.zh-cn.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
title: "Users"
|
||||
date: 2020-08-14
|
||||
draft: false
|
||||
description: "Some real-life Blowfish examples."
|
||||
slug: "users"
|
||||
tags: ["users", "sample"]
|
||||
showDate: false
|
||||
showAuthor: false
|
||||
showReadingTime: false
|
||||
showEdit: false
|
||||
layoutBackgroundHeaderSpace: false
|
||||
cardViewScreenWidth: true
|
||||
---
|
||||
|
||||
|
||||
使用 Blowfish 构建的客户案例。点击[这里](/users/users.json)查看完整列表。
|
||||
|
||||
{{< alert >}}
|
||||
|
||||
**您是 Blowfish 用户 ?** 请在这个列表中添加您的站点, [提交 PR](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/content/users/users.json).
|
||||
|
||||
{{</ alert >}}
|
||||
|
||||
</BR>
|
Loading…
Reference in a new issue