chore: use Goldmark to replace removed Blackfriday (#112)

ref https://github.com/gohugoio/hugo/issues/9944

Co-authored-by: Percy Ma <kecrily@gmail.com>
Reviewed-on: https://gitea.com/gitea/website/pulls/112
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Percy Ma <kecrily@noreply.gitea.io>
Co-committed-by: Percy Ma <kecrily@noreply.gitea.io>
This commit is contained in:
Percy Ma 2022-10-04 04:16:05 +08:00 committed by techknowlogick
parent 634487b8a4
commit f794f5fcd5
9 changed files with 40 additions and 21 deletions

View File

@ -4,7 +4,10 @@ title: Gitea
theme: gitea
markup:
defaultMarkdownHandler: blackFriday
defaultMarkdownHandler: goldmark
goldmark:
renderer:
unsafe: true
defaultContentLanguage: en-us
defaultContentLanguageInSubdir: true

View File

@ -11,8 +11,10 @@ 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 lightweight code hosting solution written in [Go](https://golang.org/).
It is published under the [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) license.
Gitea is a community managed lightweight code hosting solution written in [Go](https://golang.org/).
It is published under the [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) license.
</h4>
<div class="container">

View File

@ -11,7 +11,9 @@ type: "home"
<h1 class="title is-1">Gitea - 一杯のお茶を添えた Git</h1>
<h3 class="subtitle is-3">苦痛のないセルフホスト型 Git サービス</h3>
<h4 class="subtitle">
Gitea は、コミュニティ主導で開発が進められている [Go 言語](https://golang.org/)製の軽量のコードホスティングソリューションです。コードは [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) ライセンスで公開されています。
Gitea は、コミュニティ主導で開発が進められている [Go 言語](https://golang.org/)製の軽量のコードホスティングソリューションです。コードは [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) ライセンスで公開されています。
</h4>
<div class="container">

View File

@ -11,8 +11,10 @@ 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](https://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는 커뮤니티에서 관리하는 [Gogs](https://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">

View File

@ -10,12 +10,14 @@ 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.
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/nl-nl/">Docs</a>
</div>
</div>

View File

@ -10,9 +10,11 @@ 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).
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">

View File

@ -11,11 +11,13 @@ type: "home"
<h1 class="title is-1">Gitea - Git with a cup of tea</h1>
<h3 class="subtitle is-3">Удобный сервис собственного хостинга репозиториев Git.</h3>
<h4 class="subtitle">
Gitea - это управляемое сообществом облегчённое решение для хостинга кода, написанное на [Go](https://golang.org/).
Он публикуется под лицензией [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE).
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>
</div>

View File

@ -10,11 +10,13 @@ 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 是一个开源社区驱动的轻量级代码托管解决方案,后端采用 [Go](https://golang.org/) 编写,采用
[MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 许可证.
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/zh-cn/">文档</a>
</div>
</div>

View File

@ -11,8 +11,10 @@ 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 是一套由社群所管理的輕量級程式碼託管解決方案,後端採用
[Go 語言](https://golang.org/)撰寫,採用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 授權條款。
Gitea 是一套由社群所管理的輕量級程式碼託管解決方案,後端採用
[Go 語言](https://golang.org/)撰寫,採用 [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) 授權條款。
</h4>
<div class="container">