6eaf3535c6
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. - [Release notes](https://github.com/npm/fstream/releases) - [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12) |
||
---|---|---|
.github | ||
archetypes | ||
i18n | ||
layouts | ||
src | ||
static/images | ||
.drone.yml | ||
.editorconfig | ||
.gitignore | ||
.lgtm | ||
CONTRIBUTING.md | ||
DCO | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
gulpfile.js | ||
package-lock.json | ||
package.json | ||
theme.toml |
README.md
Gitea: Theme
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
Copyright (c) 2019 The Gitea Authors <https://gitea.io>