Replaced config.toml with config.yaml

This commit is contained in:
Thomas Boerger 2016-12-12 13:46:08 +01:00
Родитель 7eaf39288e
Коммит b5361309c8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5A388F55283960B6
2 изменённых файлов: 83 добавлений и 26 удалений

Просмотреть файл

@ -1,26 +0,0 @@
baseurl = "https://docs.gitea.io/"
languageCode = "en-us"
title = "Docs"
theme = "gitea"
disqusShortname = "gitea"
disableRSS = false
disableSitemap = false
defaultContentLanguage = "en-us"
defaultContentLanguageInSubdir = true
[permalinks]
post = "/:year/:month/:title/"
page = "/:slug/"
[params]
Description = "Git with a cup of tea"
Author = "The Gitea Authors"
Website = "https://docs.gitea.io"
Toplink = "docs"
[languages]
[languages.en-us]
weight = 0
[languages.zh-cn]
weight = 1

83
config.yaml Normal file
Просмотреть файл

@ -0,0 +1,83 @@
baseurl: https://docs.gitea.io/
languageCode: en-us
title: Docs
theme: gitea
disqusShortname: gitea
defaultContentLanguage: en-us
defaultContentLanguageInSubdir: true
enableMissingTranslationPlaceholders: true
permalinks:
post: /:year/:month/:title/
docs: /:slug/
page: /:slug/
default: /:slug/
params:
description: Git with a cup of tea
author: The Gitea Authors
website: https://docs.gitea.io
menu:
page:
- name: Website
url: https://gitea.io/en-us/
weight: 10
pre: home
- name: Docs
url: /en-us/
weight: 20
pre: question
post: active
- name: Blog
url: https://blog.gitea.io/
weight: 30
pre: rss
- name: Code
url: https://code.gitea.io/
weight: 40
pre: code
- name: Downloads
url: https://dl.gitea.io/
weight: 50
pre: download
- name: GitHub
url: https://github.com/go-gitea/
weight: 60
pre: github
languages:
en-us:
weight: 0
languageName: English
zh-cn:
weight: 1
languageName: 中文(简体)
menu:
page:
- name: 网站
url: https://gitea.io/zh-cn/
weight: 10
pre: home
- name: 文档
url: /zh-cn/
weight: 20
pre: question
post: active
- name: 博客
url: https://blog.gitea.io/
weight: 30
pre: rss
- name: 导入
url: https://code.gitea.io/
weight: 40
pre: code
- name: 下载
url: https://dl.gitea.io/
weight: 50
pre: download
- name: GitHub
url: https://github.com/go-gitea/
weight: 60
pre: github