mirror of
https://gitea.com/gitea/website.git
synced 2024-06-02 16:21:23 +05:30
Merge branch 'master' into add-myself-to-maintainers
This commit is contained in:
commit
4c7412d585
28
.drone.yml
28
.drone.yml
|
@ -2,6 +2,9 @@ workspace:
|
|||
base: /srv/app
|
||||
path: src
|
||||
|
||||
branches:
|
||||
- master
|
||||
|
||||
clone:
|
||||
git:
|
||||
image: plugins/git:1
|
||||
|
@ -17,30 +20,19 @@ pipeline:
|
|||
- make clean
|
||||
- make build
|
||||
|
||||
docker:
|
||||
image: plugins/docker:17.05
|
||||
publish:
|
||||
image: lucap/drone-netlify:latest
|
||||
pull: true
|
||||
secrets: [ docker_username, docker_password ]
|
||||
repo: gitea/website
|
||||
tags: [ '${DRONE_BRANCH##release/v}' ]
|
||||
secrets: [ netlify_token ]
|
||||
site_id: 05515f14-3702-4a84-9ff3-88ba90fe08dd
|
||||
path: public/
|
||||
when:
|
||||
event: [ push ]
|
||||
branch: [ release/* ]
|
||||
|
||||
docker:
|
||||
image: plugins/docker:17.05
|
||||
pull: true
|
||||
secrets: [ docker_username, docker_password ]
|
||||
repo: gitea/website
|
||||
tags: [ 'latest' ]
|
||||
when:
|
||||
event: [ push ]
|
||||
branch: [ master ]
|
||||
|
||||
discord:
|
||||
image: appleboy/drone-discord:1.0.0
|
||||
image: appleboy/drone-discord:1
|
||||
pull: true
|
||||
secrets: [ discord_webhook_id, discord_webhook_token ]
|
||||
when:
|
||||
event: [ push, tag, pull_request ]
|
||||
event: [ push, tag ]
|
||||
status: [ changed, failure ]
|
||||
|
|
22
Dockerfile
22
Dockerfile
|
@ -1,22 +0,0 @@
|
|||
# build stage
|
||||
FROM golang:alpine AS build-env
|
||||
|
||||
RUN apk add --no-cache git
|
||||
RUN go get -d -v github.com/mholt/caddy/caddy github.com/pedronasser/caddy-search github.com/simia-tech/caddy-locale
|
||||
WORKDIR /go/src/github.com/mholt/caddy/caddy
|
||||
|
||||
RUN sed -i '/This is where other plugins get plugged in (imported)/a _ "github.com/pedronasser/caddy-search"' caddymain/run.go \
|
||||
&& sed -i '/This is where other plugins get plugged in (imported)/a _ "github.com/simia-tech/caddy-locale"' caddymain/run.go \
|
||||
&& go install -v . \
|
||||
&& /go/bin/caddy -version
|
||||
|
||||
FROM alpine:edge
|
||||
EXPOSE 80
|
||||
|
||||
RUN apk add --no-cache wget mailcap ca-certificates
|
||||
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
|
||||
|
||||
COPY docker/caddy.conf /etc/caddy.conf
|
||||
COPY public /srv/www
|
||||
|
||||
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]
|
|
@ -13,8 +13,14 @@ Rémy Boulanouar <admin@dblk.org> (@DblK)
|
|||
Sandro Santilli <strk@kbt.io> (@strk)
|
||||
Thibault Meyer <meyer.thibault@gmail.com> (@0xbaadf00d)
|
||||
Thomas Boerger <thomas@webhippie.de> (@tboerger)
|
||||
Patrick G <geek1011@outlook.com> (@geek1011)
|
||||
Antoine Girard <sapk@sapk.fr> (@sapk)
|
||||
Lauris Bukšis-Haberkorns <lauris@nix.lv> (@lafriks)
|
||||
Jonas Östanbäck <jonas.ostanback@gmail.com> (@cez81)
|
||||
David Schneiderbauer <dschneiderbauer@gmail.com> (@daviian)
|
||||
Peter Žeby <morlinest@gmail.com> (@morlinest)
|
||||
Matti Ranta <matti@mdranta.net> (@techknowlogick)
|
||||
Michael Lustfield <mtecknology@debian.org> (@MTecknology)
|
||||
Jonas Franz <info@jonasfranz.software> (@JonasFranzDEV)
|
||||
Konrad Langenberg <k@knt.li> (@kolaente)
|
||||
Alexey Terentyev <axifnx@gmail.com> (@axifive)
|
||||
Konrad Langenberg <k@knt.li> (@kolaente)
|
11
config.yaml
11
config.yaml
|
@ -2,7 +2,6 @@ baseurl: https://gitea.io/
|
|||
languageCode: en-us
|
||||
title: Gitea
|
||||
theme: gitea
|
||||
disqusShortname: gitea
|
||||
|
||||
defaultContentLanguage: en-us
|
||||
defaultContentLanguageInSubdir: true
|
||||
|
@ -32,7 +31,7 @@ menu:
|
|||
pre: question
|
||||
- name: API
|
||||
url: https://try.gitea.io/api/swagger
|
||||
weight: 25
|
||||
weight: 45
|
||||
pre: plug
|
||||
- name: Blog
|
||||
url: https://blog.gitea.io/
|
||||
|
@ -80,7 +79,7 @@ languages:
|
|||
pre: question
|
||||
- name: API
|
||||
url: https://try.gitea.io/api/swagger
|
||||
weight: 25
|
||||
weight: 45
|
||||
pre: plug
|
||||
- name: 博客
|
||||
url: https://blog.gitea.io/
|
||||
|
@ -123,7 +122,7 @@ languages:
|
|||
pre: question
|
||||
- name: API
|
||||
url: https://try.gitea.io/api/swagger
|
||||
weight: 25
|
||||
weight: 45
|
||||
pre: plug
|
||||
- name: 部落格
|
||||
url: https://blog.gitea.io/
|
||||
|
@ -166,7 +165,7 @@ languages:
|
|||
pre: question
|
||||
- name: API
|
||||
url: https://try.gitea.io/api/swagger
|
||||
weight: 25
|
||||
weight: 45
|
||||
pre: plug
|
||||
- name: Blog
|
||||
url: https://blog.gitea.io/
|
||||
|
@ -209,7 +208,7 @@ languages:
|
|||
pre: question
|
||||
- name: API
|
||||
url: https://try.gitea.io/api/swagger
|
||||
weight: 25
|
||||
weight: 45
|
||||
pre: plug
|
||||
- name: Blog
|
||||
url: https://blog.gitea.io/
|
||||
|
|
22
content/_index.en-us.md
Normal file
22
content/_index.en-us.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Welcome"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
url: "en-us"
|
||||
type: "home"
|
||||
---
|
||||
|
||||
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
|
||||
<h3 class="subtitle is-3">A painless self-hosted Git service.</h3>
|
||||
<h4 class="subtitle">
|
||||
Gitea is a community managed [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) of [Gogs](https://gogs.io/),
|
||||
lightweight code hosting solution written in [Go](https://golang.org/)
|
||||
and published under the [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) license.
|
||||
</h4>
|
||||
|
||||
<div class="container">
|
||||
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">Try Gitea</a>
|
||||
<a class="button is-light is-large" href="https://docs.gitea.io">Docs</a>
|
||||
</div>
|
21
content/_index.nl-nl.md
Normal file
21
content/_index.nl-nl.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Welkom"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
url: "nl-nl"
|
||||
type: "home"
|
||||
---
|
||||
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
|
||||
<h3 class="subtitle is-3">A painless self-hosted Git service.</h3>
|
||||
<h4 class="subtitle">
|
||||
Gitea is een door de community beheerde [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) van [Gogs](http://gogs.io),
|
||||
een lichtgewicht code hosting oplossing geschreven in [Go](https://golang.org/)
|
||||
en wordt gepubliceerd onder de [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) licentie.
|
||||
</h4>
|
||||
|
||||
<div class="container">
|
||||
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">Probeer Gitea</a>
|
||||
<a class="button is-light is-large" href="https://docs.gitea.io">Docs</a>
|
||||
</div>
|
21
content/_index.pt-br.md
Normal file
21
content/_index.pt-br.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Bem vindo"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
url: "pt-br"
|
||||
type: "home"
|
||||
---
|
||||
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
|
||||
<h3 class="subtitle is-3">Um servidor Git super fácil de instalar.</h3>
|
||||
<h4 class="subtitle">
|
||||
Gitea é um [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) do [Gogs](http://gogs.io) mantido pela comunidade,
|
||||
sendo uma solução de hospedagem de código-fonte feito em [Go](https://golang.org/)
|
||||
e disponibilizado sob a licença [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE).
|
||||
</h4>
|
||||
|
||||
<div class="container">
|
||||
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">Teste o Gitea</a>
|
||||
<a class="button is-light is-large" href="https://docs.gitea.io">Docs</a>
|
||||
</div>
|
21
content/_index.zh-cn.md
Normal file
21
content/_index.zh-cn.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "欢迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
url: "zh-cn"
|
||||
type: "home"
|
||||
---
|
||||
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
|
||||
<h3 class="subtitle is-3">A painless self-hosted Git service.</h3>
|
||||
<h4 class="subtitle">
|
||||
Gitea 是一个开源社区驱动的 [Gogs](http://gogs.io) [克隆](https://blog.gitea.io/2016/12/welcome-to-gitea/),
|
||||
是一个轻量级的代码托管解决方案,后端采用 [Go](https://golang.org/) 编写,采用
|
||||
[MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 许可证.
|
||||
</h4>
|
||||
|
||||
<div class="container">
|
||||
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">尝试 Gitea</a>
|
||||
<a class="button is-light is-large" href="https://docs.gitea.io">文档</a>
|
||||
</div>
|
20
content/_index.zh-tw.md
Normal file
20
content/_index.zh-tw.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "歡迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
url: "zh-tw"
|
||||
type: "home"
|
||||
---
|
||||
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
|
||||
<h3 class="subtitle is-3">A painless self-hosted Git service.</h3>
|
||||
<h4 class="subtitle">
|
||||
Gitea 是一個從 [Gogs](http://gogs.io) [分支出來](https://blog.gitea.io/2016/12/welcome-to-gitea/) 的開源專案, 它是輕量級程式碼託管解決方案,後端採用
|
||||
[Go](https://golang.org/) 程式語言撰寫,採用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 授權條款。
|
||||
</h4>
|
||||
|
||||
<div class="container">
|
||||
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">嘗試 Gitea</a>
|
||||
<a class="button is-light is-large" href="https://docs.gitea.io">Docs</a>
|
||||
</div>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
|
||||
</svg>
|
|
@ -6,7 +6,7 @@ toc: false
|
|||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
|
||||
</svg>
|
|
@ -6,7 +6,7 @@ toc: false
|
|||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
|
||||
</svg>
|
|
@ -5,8 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
|
||||
</svg>
|
|
@ -5,7 +5,7 @@ weight: 10
|
|||
toc: false
|
||||
draft: false
|
||||
---
|
||||
<h3>
|
||||
<h3 class="subtitle is-3">
|
||||
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
|
||||
</svg>
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Welcome"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h1 class="display-4">Gitea - Git with a cup of tea</h1>
|
||||
<p class="lead">A painless self-hosted Git service.</p>
|
||||
<hr class="my-2">
|
||||
<p>
|
||||
Gitea is a community managed [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) of [Gogs](https://gogs.io/),
|
||||
lightweight code hosting solution written in [Go](https://golang.org/)
|
||||
and published under the [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) license.
|
||||
</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="https://try.gitea.io" target="_blank" role="button">Try Gitea</a>
|
||||
</p>
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Welkom"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h1 class="display-4">Gitea - Git with a cup of tea</h1>
|
||||
<p class="lead">A painless self-hosted Git service.</p>
|
||||
<hr class="my-2">
|
||||
<p>
|
||||
Gitea is een door de community beheerde [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) van [Gogs](http://gogs.io),
|
||||
een lichtgewicht code hosting oplossing geschreven in [Go](https://golang.org/)
|
||||
en wordt gepubliceerd onder de [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) licentie.
|
||||
</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="https://try.gitea.io" target="_blank" role="button">Probeer Gitea</a>
|
||||
</p>
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Bem vindo"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h1 class="display-4">Gitea - Git with a cup of tea</h1>
|
||||
<p class="lead">Um servidor Git super fácil de instalar.</p>
|
||||
<hr class="my-2">
|
||||
<p>
|
||||
Gitea é um [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) do [Gogs](http://gogs.io) mantido pela comunidade,
|
||||
sendo uma solução de hospedagem de código-fonte feito em [Go](https://golang.org/)
|
||||
e disponibilizado sob a licença [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE).
|
||||
</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="https://try.gitea.io" target="_blank" role="button">Teste o Gitea</a>
|
||||
</p>
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "欢迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h1 class="display-4">Gitea - Git with a cup of tea</h1>
|
||||
<p class="lead">A painless self-hosted Git service.</p>
|
||||
<hr class="my-2">
|
||||
<p>
|
||||
Gitea 是一个开源社区驱动的 [Gogs](http://gogs.io) [克隆](https://blog.gitea.io/2016/12/welcome-to-gitea/),
|
||||
是一个轻量级的代码托管解决方案,后端采用 [Go](https://golang.org/) 编写,采用
|
||||
[MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 许可证.
|
||||
</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="https://try.gitea.io" target="_blank" role="button">尝试 Gitea</a>
|
||||
</p>
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "歡迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
<h1 class="display-4">Gitea - Git with a cup of tea</h1>
|
||||
<p class="lead">A painless self-hosted Git service.</p>
|
||||
<hr class="my-2">
|
||||
<p>
|
||||
Gitea 是一個從 [Gogs](http://gogs.io) [分支出來](https://blog.gitea.io/2016/12/welcome-to-gitea/) 的開源專案, 它是輕量級程式碼託管解決方案,後端採用
|
||||
[Go](https://golang.org/) 程式語言撰寫,採用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 授權條款。
|
||||
</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="https://try.gitea.io" target="_blank" role="button">嘗試 Gitea</a>
|
||||
</p>
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Welcome"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Gitea - Git with a cup of tea
|
||||
|
||||
Gitea is a community managed [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) of [Gogs](http://gogs.io), lightweight code hosting solution written in [Go](https://golang.org/) and published under the [MIT](https://github.com/go-gitea/gitea/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,13 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "Bem vindo"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Gitea - Git with a cup of tea
|
||||
|
||||
Gitea é um [fork](https://blog.gitea.io/2016/12/welcome-to-gitea/) do [Gogs](http://gogs.io) mantido pela comunidade, sendo uma solução de hospedagem de código-fonte feito em [Go](https://golang.org/) e disponibilizado sob a licença [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE). O código-fonte do Gitea está atualmente hospedado no [GitHub](https://github.com/go-gitea/).
|
||||
|
||||
Até o momento, ainda não foi publicado uma versão oficial do Gitea, porém, estamos trabalhando duro para disponibilizar a versão 1.0.0 de forma a permitir atualizações continuas das implementações existentes no Gogs.
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "欢迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Gitea - Git with a cup of tea
|
||||
|
||||
Gitea 是一个开源社区驱动的 [Gogs](http://gogs.io) [克隆](https://blog.gitea.io/2016/12/welcome-to-gitea/), 是一个轻量级的代码托管解决方案,后端采用 [Go](https://golang.org/) 编写,采用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 许可证. Gitea 的代码目前保存在 [GitHub](https://github.com/go-gitea/) 上。
|
||||
|
||||
当前还没有任何 Release 版本,不过我们已经在接近发布 [1.0.0](https://github.com/go-gitea/gitea/milestone/1),这个版本将会让你可以从已有的 Gogs 无缝升级。
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
title: "歡迎"
|
||||
weight: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Gitea - Git with a cup of tea
|
||||
|
||||
Gitea 是一個從 [Gogs](http://gogs.io) [分支出來](https://blog.gitea.io/2016/12/welcome-to-gitea/) 的開源專案, 它是輕量級程式碼託管解決方案,後端採用 [Go](https://golang.org/) 程式語言撰寫,採用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 授權條款。Gitea 的程式碼目前存放在 [GitHub](https://github.com/go-gitea/) 上。
|
||||
|
||||
到目前尚未 Release 任何版本,不過我們正在努力開發 [1.0.0](https://github.com/go-gitea/gitea/milestone/1) 版本,此版本將可以讓您無痛從 Gogs 升級。
|
|
@ -1,39 +0,0 @@
|
|||
:80 {
|
||||
root /srv/www
|
||||
|
||||
locale en-US zh-CN zh-TW pt-BR nl-NL {
|
||||
detect header
|
||||
}
|
||||
|
||||
redir 301 {
|
||||
if {path} match ^/$
|
||||
/ /{>Detected-Locale}/
|
||||
}
|
||||
|
||||
rewrite /en-US/ {
|
||||
regexp (.*)
|
||||
to /en-us/{1}
|
||||
}
|
||||
|
||||
rewrite /zh-CN/ {
|
||||
regexp (.*)
|
||||
to /zh-cn/{1}
|
||||
}
|
||||
|
||||
rewrite /zh-TW/ {
|
||||
regexp (.*)
|
||||
to /zh-tw/{1}
|
||||
}
|
||||
|
||||
rewrite /pt-BR/ {
|
||||
regexp (.*)
|
||||
to /pt-br/{1}
|
||||
}
|
||||
|
||||
rewrite /nl-NL/ {
|
||||
regexp (.*)
|
||||
to /nl-nl/{1}
|
||||
}
|
||||
|
||||
header / Vary "Accept-Language"
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div class="container landingpage">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="jumbotron">
|
||||
<img class="logo" src="{{ .Site.BaseURL }}images/gitea.png" alt="{{ .Site.Title }}">
|
||||
{{ range where .Site.Pages "Type" "jumbotron" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
{{ range where .Site.Pages "Type" "easy-installation" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
{{ range where .Site.Pages "Type" "cross-platform" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
{{ range where .Site.Pages "Type" "lightweight" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
{{ range where .Site.Pages "Type" "open-source" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
6
static/_headers
Normal file
6
static/_headers
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com
|
||||
X-Frame-Options: DENY
|
||||
X-Xss-Protection: 1; mode=block
|
||||
X-Content-Type-Options: nosniff
|
||||
Referrer-Policy: strict-origin-when-cross-origin
|
8
static/_redirects
Normal file
8
static/_redirects
Normal file
|
@ -0,0 +1,8 @@
|
|||
https://gitea-website.netlify.com/* https://gitea.io/:splat 302!
|
||||
https://www.gitea.io/* https://gitea.io/:splat 302!
|
||||
|
||||
/ /nl-nl/ 302! Language=nl
|
||||
/ /pt-br/ 302! Language=pt-br
|
||||
/ /zh-cn/ 302! Language=zh-cn
|
||||
/ /zh-tw/ 302! Language=zh-tw
|
||||
/ /en-us/ 302!
|
Loading…
Reference in a new issue