mirror of https://gitea.com/gitea/website.git
commit
e473efc4d8
15
config.toml
15
config.toml
|
@ -1,4 +1,4 @@
|
|||
baseurl = "/"
|
||||
baseurl = "https://gitea.io/"
|
||||
languageCode = "en-us"
|
||||
title = "Gitea"
|
||||
theme = "gitea"
|
||||
|
@ -6,7 +6,8 @@ disqusShortname = "gitea"
|
|||
disableRSS = false
|
||||
disableSitemap = false
|
||||
|
||||
defaultContentLanguage = "en"
|
||||
defaultContentLanguage = "en-us"
|
||||
defaultContentLanguageInSubdir = true
|
||||
|
||||
[permalinks]
|
||||
post = "/:year/:month/:title/"
|
||||
|
@ -18,8 +19,8 @@ defaultContentLanguage = "en"
|
|||
Website = "https://gitea.io"
|
||||
Toplink = "website"
|
||||
|
||||
# [languages]
|
||||
# [languages.en]
|
||||
# weight = 0
|
||||
# [languages.de]
|
||||
# weight = 1
|
||||
[languages]
|
||||
[languages.en-us]
|
||||
weight = 0
|
||||
[languages.zh-cn]
|
||||
weight = 1
|
||||
|
|
|
@ -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 New Issue