Gitea: Theme
Go to file
Thomas Boerger 1b3ecd91c7
Fixed i18n and disqus
2016-12-12 13:44:42 +01:00
.github Unified GitHub templates accross all projects 2016-11-28 14:28:37 +01:00
archetypes Fixed i18n and disqus 2016-12-12 13:44:42 +01:00
i18n Fixed i18n and disqus 2016-12-12 13:44:42 +01:00
layouts Fixed i18n and disqus 2016-12-12 13:44:42 +01:00
src Cleanup of the theme files 2016-12-09 15:04:08 +01:00
static Rename static/styles/main.css to src/main.scss 2016-12-06 22:02:23 +01:00
.drone.yml My tiny changes 2016-12-08 16:48:30 +01:00
.drone.yml.sig My tiny changes 2016-12-08 16:48:30 +01:00
.editorconfig Unified editorconfig accross all projects 2016-11-28 14:27:55 +01:00
.gitignore My tiny changes 2016-12-08 16:48:30 +01:00
.lgtm Initial commit 2016-11-10 11:03:23 +01:00
CONTRIBUTING.md Fixed typos on CONTRIBUTING based on work of @thehowl 2016-12-05 09:57:35 +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 Added real name of Bwko to maintainers file 2016-12-01 10:25:07 +01:00
README.md Documented development workflow 2016-12-09 09:29:30 +01:00
gulpfile.js Replace gulp-tar with gulp-tar-path to include subfolders and subfiles 2016-12-08 18:12:10 +01:00
package.json Replace gulp-tar with gulp-tar-path to include subfolders and subfiles 2016-12-08 18:12:10 +01:00
theme.toml Fixed i18n and disqus 2016-12-12 13:44:42 +01:00

README.md

Gitea: Theme

Build Status Join the chat at https://gitter.im/go-gitea/gitea

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 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 -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:

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] (https://dl.gitea.io/theme) 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) 2016 The Gitea Authors <https://gitea.io>