mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 12:45:52 -04:00
parent
d90b886e08
commit
322eff8999
123
config.toml
123
config.toml
@ -278,3 +278,126 @@ anchor = "smart"
|
|||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
[languages.zh]
|
||||||
|
contentDir = "content/zh"
|
||||||
|
languageName = "中文"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "关于 Hugo"
|
||||||
|
weight = 1
|
||||||
|
identifier = "about"
|
||||||
|
url = "/zh/about/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "入门"
|
||||||
|
weight = 5
|
||||||
|
identifier = "getting-started"
|
||||||
|
url = "/zh/getting-started/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "主题"
|
||||||
|
weight = 15
|
||||||
|
identifier = "themes"
|
||||||
|
post = "break"
|
||||||
|
url = "/zh/themes/"
|
||||||
|
|
||||||
|
# Core languages.zh.menus
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "内容管理"
|
||||||
|
weight = 20
|
||||||
|
identifier = "content-management"
|
||||||
|
post = "expanded"
|
||||||
|
url = "/zh/content-management/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "模板"
|
||||||
|
weight = 25
|
||||||
|
identifier = "templates"
|
||||||
|
url = "/zh/templates/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "函数"
|
||||||
|
weight = 30
|
||||||
|
identifier = "functions"
|
||||||
|
url = "/zh/functions/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "变量"
|
||||||
|
weight = 35
|
||||||
|
identifier = "variables"
|
||||||
|
url = "/zh/variables/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "CLI"
|
||||||
|
weight = 40
|
||||||
|
post = "break"
|
||||||
|
identifier = "commands"
|
||||||
|
url = "/commands/"
|
||||||
|
|
||||||
|
# LOW LEVEL ITEMS
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "故障排除"
|
||||||
|
weight = 60
|
||||||
|
identifier = "troubleshooting"
|
||||||
|
url = "/zh/troubleshooting/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "工具"
|
||||||
|
weight = 70
|
||||||
|
identifier = "tools"
|
||||||
|
url = "/zh/tools/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "Hosting & Deployment"
|
||||||
|
weight = 80
|
||||||
|
identifier = "hosting-and-deployment"
|
||||||
|
url = "/zh/hosting-and-deployment/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.docs]]
|
||||||
|
name = "贡献"
|
||||||
|
weight = 100
|
||||||
|
post = "break"
|
||||||
|
identifier = "contribute"
|
||||||
|
url = "/zh/contribute/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "新闻"
|
||||||
|
weight = 1
|
||||||
|
identifier = "news"
|
||||||
|
url = "/news/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "文档"
|
||||||
|
weight = 5
|
||||||
|
identifier = "docs"
|
||||||
|
url = "/zh/documentation/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "主题"
|
||||||
|
weight = 10
|
||||||
|
identifier = "themes"
|
||||||
|
url = "https://themes.gohugo.io/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "作品展示"
|
||||||
|
weight = 20
|
||||||
|
identifier = "showcase"
|
||||||
|
url = "/zh/showcase/"
|
||||||
|
|
||||||
|
# Anything with a weight > 100 gets an external icon
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "社区"
|
||||||
|
weight = 150
|
||||||
|
icon = true
|
||||||
|
identifier = "community"
|
||||||
|
post = "external"
|
||||||
|
url = "https://discourse.gohugo.io/"
|
||||||
|
|
||||||
|
[[languages.zh.menu.global]]
|
||||||
|
name = "GitHub"
|
||||||
|
weight = 200
|
||||||
|
identifier = "github"
|
||||||
|
post = "external"
|
||||||
|
url = "https://github.com/gohugoio/hugo"
|
||||||
|
20
content/zh/about/_index.md
Normal file
20
content/zh/about/_index.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: 关于 Hugo
|
||||||
|
linktitle: 概览
|
||||||
|
description: Hugo 的特色、规划、许可和动力。
|
||||||
|
date: 2018-04-26
|
||||||
|
publishdate: 2018-04-26
|
||||||
|
lastmod: 2018-04-26
|
||||||
|
categories: []
|
||||||
|
keywords: []
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "about"
|
||||||
|
weight: 1
|
||||||
|
weight: 1
|
||||||
|
draft: false
|
||||||
|
aliases: [/about-hugo/,/docs/]
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Hugo 不是一般的静态网站生成器。
|
20
content/zh/content-management/_index.md
Normal file
20
content/zh/content-management/_index.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: 内容管理
|
||||||
|
linktitle: 内容管理概览
|
||||||
|
description: Hugo 可以管理大型的静态网站,支持骨架、内容类型、菜单、引用、概要等等。
|
||||||
|
date: 2018-04-23
|
||||||
|
publishdate: 2018-04-23
|
||||||
|
lastmod: 2018-04-23
|
||||||
|
menu:
|
||||||
|
docs:
|
||||||
|
parent: "content-management"
|
||||||
|
weight: 1
|
||||||
|
keywords: [source, organization]
|
||||||
|
categories: [content management]
|
||||||
|
weight: 01 #rem
|
||||||
|
draft: false
|
||||||
|
aliases: [/content/,/content/organization]
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
静态网站生成器需要扩展文件头和一些模板,使得具有伸缩性和可管理性。Hugo 不仅是给开发者设计的,也同样适用于内容管理员和写作的人。
|
Loading…
x
Reference in New Issue
Block a user