docs: Add Chinese documentation for github page.

This commit is contained in:
rpeng
2024-01-10 02:33:45 +08:00
parent c8f648d5c2
commit 14b2c546fd
29 changed files with 2823 additions and 0 deletions
@@ -0,0 +1,25 @@
languageCode = "zh-CN"
languageName = "简体中文"
languageDirection = "ltr"
weight = 2
title = "Congo"
copyright = "© 2023 Congo contributors"
[params]
dateFormat = "2006年1月2日"
mainSections = ["samples"]
description = "一款基于Tailwindcss的强大且轻量的Hugo主题"
[author]
name = "Congo"
image = "img/author.jpg"
headline = "非凡的主题!"
bio = "这是一个作者简介示例,虽然这里有一张狗的库存照片,但实际上这篇文章是由人创建的。 :dog:"
links = [
{ x-twitter = "https://twitter.com/" },
{ facebook = "https://facebook.com/" },
{ linkedin = "https://linkedin.com/" },
{ youtube = "https://youtube.com/" },
]
@@ -0,0 +1,56 @@
# -- Main Menu --
# The main menu is displayed in the header at the top of the page.
# Acceptable parameters are name, pageRef, page, url, title, weight.
#
# The simplest menu configuration is to provide:
# name = The name to be displayed for this menu link
# pageRef = The identifier of the page or section to link to
#
# By default the menu is ordered alphabetically. This can be
# overridden by providing a weight value. The menu will then be
# ordered by weight from lowest to highest.
[[main]]
name = "文档"
pageRef = "docs"
weight = 10
[[main]]
name = "示例"
pageRef = "samples"
weight = 20
[[main]]
name = "用户"
pageRef = "users"
weight = 30
[[main]]
name = "GitHub"
url = "https://github.com/jpanther/congo"
weight = 40
[main.params]
icon = "github"
showName = false
target = "_blank"
[[main]]
identifier = "搜索"
weight = 99
[main.params]
action = "search"
[[main]]
identifier = "语言"
weight = 100
[main.params]
action = "locale"
# -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.
# [[footer]]
# name = "标签"
# pageRef = "tags"
# weight = 10