Started to add real content

This commit is contained in:
Thomas Boerger 2016-12-01 17:39:42 +01:00 committed by Kim "BKC" Carlbäcker
parent 623b43bba3
commit c2d029e753
5 changed files with 86 additions and 54 deletions

View File

@ -1,11 +1,24 @@
baseurl = "/"
languageCode = "en-us"
title = "Blog - Gitea"
title = "Blog"
theme = "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

View File

@ -1,9 +0,0 @@
---
date: "2016-11-08T16:00:00+02:00"
draft: false
title: "Blog"
weight: 10
type: "index"
---
# Blog

View File

@ -1,44 +0,0 @@
+++
date = "2016-11-21T11:00:00+02:00"
title = "Welcome to Gitea"
draft = true
+++
Gitea is a community fork of the popular self-hosted Git service Gogs.
We're a growing group of former Gogs users and contributors who found
the single-maintainer management model of Gogs frustrating and thus
decided to make an effort to build a more open and faster development
model.
This happened not before trying to convince @Unknwon about giving
write permissions to more people, among the community. He rightly
considered Gogs his own creature and didn't want to let it grow
outside of him, thus a fork was necessary in order to set that
code effectively free.
As Kahlil Gibran wrote about children:
Your children are not your children.
They are the sons and daughters of Life's longing for itself.
They come through you but not from you,
And though they are with you yet they belong not to you.
Gitea has 3 owners which are elected yearly and an open number
of maintainers who decide with a simple voting model which
contributions get accepted and who will play the owner role.
Anyone with at least 4 contributions accepted can apply to become
a maintainer.
In the first 3 weeks from the fork date (~Nov 1st) Gitea got
94 pull requests merged and 23 issues closed. Among management
issues and cleanups, 21 bugs were closed (an average of a bug a day).
Anoher 23 PR are pending merges, many of which are just waiting
for 1.0.0 to be released as new features will start appearing
in 1.1.0.
We invite everyone to join the effort and help continue building
the next generation of self-hosted Git service.
Gitea: git with a cup of tea - http://gitea.io

View File

@ -0,0 +1,22 @@
---
date: "2016-11-21T11:00:00+02:00"
author: "strk"
title: "Welcome to Gitea"
tags: ["announcement"]
draft: false
type: "post"
---
Gitea is a community fork of the popular self-hosted Git service Gogs. We're a growing group of former Gogs users and contributors who found the single-maintainer management model of Gogs frustrating and thus decided to make an effort to build a more open and faster development model.
This happened not before trying to convince @Unknwon about giving write permissions to more people, among the community. He rightly considered Gogs his own creature and didn't want to let it grow outside of him, thus a fork was necessary in order to set that code effectively free.
As Kahlil Gibran wrote about children:
> Your children are not your children. They are the sons and daughters of Life's longing for itself. They come through you but not from you, and though they are with you yet they belong not to you.
Gitea has 3 owners which are elected yearly and an open number of maintainers who decide with a simple voting model which contributions get accepted and who will play the owner role. Anyone with at least 4 contributions accepted can apply to become a maintainer.
In the first 3 weeks from the fork date (~Nov 1st) Gitea got 94 pull requests merged and 23 issues closed. Among management issues and cleanups, 21 bugs were closed (an average of a bug a day). Anoher 23 PR are pending merges, many of which are just waiting for 1.0.0 to be released as new features will start appearing in 1.1.0.
We invite everyone to join the effort and help continue building the next generation of self-hosted Git service.

50
layouts/index.html Normal file
View File

@ -0,0 +1,50 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}{{ range $paginator.Pages }}
<article>
<header>
<h2>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
<p>
<i>{{ .Date.Format "Mon Jan 2, 2006" }}</i>
{{ i18n "authored_by" }}
<b>{{ .Params.author | default .Site.Params.author }}</b>
</p>
</header>
{{ .Summary }}
<a href="{{ .Permalink }}">
{{ i18n "read_more" }}
</a>
</article>
{{ end }}
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<div>
{{ if and (.Paginator.HasPrev) (.Paginator.HasNext) }}
<a class="btn" href="{{ .Paginator.Prev.URL }}" role="button">{{ i18n "page_prev" }}</a>
<a class="btn" href="{{ .Paginator.Next.URL }}" role="button">{{ i18n "page_next" }}</a>
{{ end }}
{{ if and (.Paginator.HasPrev) (not .Paginator.HasNext) }}
<a class="btn" href="{{ .Paginator.Prev.URL }}" role="button">{{ i18n "page_prev" }}</a>
<a class="btn disabled" href="#" role="button" aria-disabled="true">{{ i18n "page_next" }}</a>
{{ end }}
{{ if and (not .Paginator.HasPrev) (.Paginator.HasNext) }}
<a class="btn disabled" href="#" role="button" aria-disabled="true">{{ i18n "page_prev" }}</a>
<a class="btn" href="{{ .Paginator.Next.URL }}" role="button">{{ i18n "page_next" }}</a>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>
{{ partial "footer.html" . }}