Replaced config.toml with config.yaml

This commit is contained in:
Thomas Boerger 2016-12-12 13:45:18 +01:00
parent 5c5ca6429b
commit 5b7a0b951e
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
2 changed files with 83 additions and 26 deletions

View File

@ -1,26 +0,0 @@
baseurl = "https://gitea.io/"
languageCode = "en-us"
title = "Gitea"
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://gitea.io"
Toplink = "website"
[languages]
[languages.en-us]
weight = 0
[languages.zh-cn]
weight = 1

83
config.yaml Normal file
View File

@ -0,0 +1,83 @@
baseurl: https://gitea.io/
languageCode: en-us
title: Gitea
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://gitea.io
menu:
page:
- name: Website
url: /en-us/
weight: 10
pre: home
post: active
- name: Docs
url: https://docs.gitea.io/en-us/
weight: 20
pre: question
- 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: /zh-cn/
weight: 10
pre: home
post: active
- name: 文档
url: https://docs.gitea.io/zh-cn/
weight: 20
pre: question
- 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