Gitea: Theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind 8716ac9546 regenerate package-lock.json (#81) 5 days ago
.github Replace pull request with issue at issue_template (#28) 2 years ago
archetypes Fixed i18n and disqus 3 years ago
i18n Add Brazilian Portuguese support 3 years ago
layouts Add anchors to all headers (#78) 6 days ago
src fix padding on mobile (#57) 1 year ago
static/images Add screenshot with higher resolution and PNG format (#59) 1 year ago
.drone.yml use correct Drone server (#77) 1 month ago
.editorconfig switch gitter to discord for drone. 2 years ago
.gitignore feat: switch npm to yarn (#37) 2 years ago
.lgtm update LGTM pattern (#46) 1 year ago
CONTRIBUTING.md Update contributing & maintainers file 2 years ago
DCO Initial commit 3 years ago
LICENSE Initial commit 3 years ago
MAINTAINERS Replace @JonasFranzDEV with @jonasfranz (#64) 11 months ago
README.md update deps to patch security & remove yarn usage (#65) 10 months ago
gulpfile.js switch to dart-sass (#80) 6 days ago
package-lock.json regenerate package-lock.json (#81) 5 days ago
package.json switch to dart-sass (#80) 6 days ago
theme.toml Fixed i18n and disqus 3 years ago

README.md

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.

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

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.

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) 2019 The Gitea Authors <https://gitea.io>