go-gitea/theme

Name: theme

Owner: Gitea

Description: Gitea: Theme

Created: 2016-11-10 09:53:44.0

Updated: 2018-05-24 00:26:26.0

Pushed: 2018-05-24 00:26:25.0

Homepage: https://gitea.io

Size: 516

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

 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:

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

 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
right (c) 2018 The Gitea Authors <https://gitea.io>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.