Gitea: Theme, moved to https://gitea.com/gitea/theme
Перейти к файлу
David Schneiderbauer bc4eb914b3 check in package-lock (#58) 2018-05-23 17:02:24 +08:00
.github Replace pull request with issue at issue_template (#28) 2016-12-31 22:43:11 +08:00
archetypes Fixed i18n and disqus 2016-12-12 13:44:42 +01:00
i18n Add Brazilian Portuguese support 2016-12-23 13:52:42 -02:00
layouts Fix 404 image (#56) 2018-05-23 10:02:25 +08:00
src New design (#54) 2018-05-22 21:04:51 -04:00
static/images New design (#54) 2018-05-22 21:04:51 -04:00
.drone.yml Trigger go-gitea/gitea instead of /docs (#50) 2018-01-25 16:01:36 +02:00
.editorconfig switch gitter to discord for drone. 2017-06-15 11:14:20 +08:00
.gitignore feat: switch npm to yarn (#37) 2017-06-15 02:04:44 -05:00
.lgtm update LGTM pattern (#46) 2018-01-03 15:06:56 +02:00
CONTRIBUTING.md Update contributing & maintainers file 2017-01-24 21:53:03 +01:00
DCO Initial commit 2016-11-10 11:03:23 +01:00
LICENSE Initial commit 2016-11-10 11:03:23 +01:00
MAINTAINERS Add myself as a maintainer (#51) 2018-03-17 11:51:26 +08:00
README.md Update copyright year 2018-04-04 09:14:28 +03:00
gulpfile.js Replace gulp-tar with gulp-tar-path to include subfolders and subfiles 2016-12-08 18:12:10 +01:00
package-lock.json check in package-lock (#58) 2018-05-23 17:02:24 +08:00
package.json New design (#54) 2018-05-22 21:04:51 -04:00
theme.toml Fixed i18n and disqus 2016-12-12 13:44:42 +01:00
yarn.lock update logo (#39) 2017-08-02 16:17:08 +08:00

README.md

Gitea: Theme

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg

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.

Install

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.

Development

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

yarn install -q

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:

yarn run clean
yarn run build
yarn 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:

yarn 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.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

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

Copyright (c) 2018 The Gitea Authors <https://gitea.io>