mirror of
https://gitea.com/gitea/website.git
synced 2024-06-02 00:11:22 +05:30
Fixed localization
This commit is contained in:
parent
b8d0aa0d5b
commit
0c85840d29
15
config.toml
15
config.toml
|
@ -1,4 +1,4 @@
|
||||||
baseurl = "/"
|
baseurl = "https://gitea.io/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Gitea"
|
title = "Gitea"
|
||||||
theme = "gitea"
|
theme = "gitea"
|
||||||
|
@ -6,7 +6,8 @@ disqusShortname = "gitea"
|
||||||
disableRSS = false
|
disableRSS = false
|
||||||
disableSitemap = false
|
disableSitemap = false
|
||||||
|
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en-us"
|
||||||
|
defaultContentLanguageInSubdir = true
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
post = "/:year/:month/:title/"
|
post = "/:year/:month/:title/"
|
||||||
|
@ -18,8 +19,8 @@ defaultContentLanguage = "en"
|
||||||
Website = "https://gitea.io"
|
Website = "https://gitea.io"
|
||||||
Toplink = "website"
|
Toplink = "website"
|
||||||
|
|
||||||
# [languages]
|
[languages]
|
||||||
# [languages.en]
|
[languages.en-us]
|
||||||
# weight = 0
|
weight = 0
|
||||||
# [languages.de]
|
[languages.zh-cn]
|
||||||
# weight = 1
|
weight = 1
|
||||||
|
|
14
content/index.zh-cn.md
Normal file
14
content/index.zh-cn.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
date: "2016-11-08T16:00:00+02:00"
|
||||||
|
title: "欢迎"
|
||||||
|
weight: 10
|
||||||
|
toc: false
|
||||||
|
draft: false
|
||||||
|
type: "default"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Gitea - Git with a cup of tea
|
||||||
|
|
||||||
|
Gitea is a community managed fork of [Gogs](http://gogs.io), lightweight code hosting solution written in [Go](https://golang.org/) and published under the [MIT](https://github.com/gogits/gogs/blob/master/LICENSE) license. The code of Gitea is currently hosted on [GitHub](https://github.com/go-gitea/).
|
||||||
|
|
||||||
|
At the time of writing, there are no official Gitea release yet, but we're working hard to get to 1.0.0 in a way that would allow seamless upgrades of existing Gogs deploys.
|
|
@ -1,14 +0,0 @@
|
||||||
{{ partial "header.html" . }}
|
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
<div class="container content">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
{{ range .Site.Pages }}
|
|
||||||
{{ .Content }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
|
Loading…
Reference in a new issue