Gitea: Theme
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Septatrix 0113eed132 Fix badge to use https (#82) 4 周前
.github Replace pull request with issue at issue_template (#28) 3 年前
archetypes Fixed i18n and disqus 3 年前
i18n Add Brazilian Portuguese support 3 年前
layouts Add anchors to all headers (#78) 2 个月前
src fix padding on mobile (#57) 1年前
static/images Add screenshot with higher resolution and PNG format (#59) 1年前
.drone.yml use correct Drone server (#77) 3 个月前
.editorconfig switch gitter to discord for drone. 2 年前
.gitignore feat: switch npm to yarn (#37) 2 年前
.lgtm update LGTM pattern (#46) 2 年前 Update contributing & maintainers file 3 年前
DCO Initial commit 3 年前
LICENSE Initial commit 3 年前
MAINTAINERS Replace @JonasFranzDEV with @jonasfranz (#64) 1年前 Fix badge to use https (#82) 4 周前
gulpfile.js switch to dart-sass (#80) 2 个月前
package-lock.json regenerate package-lock.json (#81) 2 个月前
package.json switch to dart-sass (#80) 2 个月前
theme.toml Fixed i18n and disqus 3 年前

Gitea: Theme

Build Status

This is a Hugo theme that gets used within all of our websites like our blog, documentation and also the redirects. If you commit any changes to the master branch it will trigger rebuilds of all the related websites.


You need an existing Hugo website, than you can just download our prebuilt theme, put it into your themes/gitea folder and enable the theme with the theme = "gitea" option of your website.


We choose npm to fetch our dependencies and gulp for the pipeline. We won't cover the installation of nodejs or npm, for that you can find enough guides depending on your operating system. First of all you have to install the required dependencies:

npm install

After you have successfully installed the required dependencies you should be able to use these commands to just clean and build generated sources of the theme:

npm run clean
npm run build
npm run release

If you want to do more development on the theme we suggest to use the watch task we have defined to get the changes directly built after saving changes to a file:

npm run watch

When you are done with your changes just create a pull request, after merging the pull request the theme will be published to our download page automatically.


Fork -> Patch -> Push -> Pull Request



This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2019 The Gitea Authors <>