Replaced config.toml with config.yaml

This commit is contained in:
Thomas Boerger 2016-12-12 13:46:16 +01:00
parent fda98dba5e
commit 87d0bc524e
No known key found for this signature in database
GPG key ID: 5A388F55283960B6
2 changed files with 83 additions and 25 deletions

View file

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

83
config.yaml Normal file
View file

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