From d628be7f98bb10ccc2980aa537219d6a134df138 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 2 Aug 2017 16:17:08 +0800 Subject: [PATCH] update logo (#39) * update logo Signed-off-by: Bo-Yi Wu * fix layout. Signed-off-by: Bo-Yi Wu --- README.md | 17 ++++++++--------- layouts/partials/footer.html | 2 +- static/images/gitea.png | Bin 82423 -> 19418 bytes yarn.lock | 10 +++++----- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index e22ff49..8abe84e 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,13 @@ it into your `themes/gitea` folder and enable the theme with the ## Development -We choose [npm](https://www.npmjs.com/) to fetch our dependencies and +We choose [yarn](https://yarnpkg.com) to fetch our dependencies and [gulp](http://gulpjs.com/) for the pipeline. We won't cover the installation of -nodejs or npm, for that you can find enough guides depending on your operating +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: ``` -npm install -q +yarn install -q ``` After you have successfully installed the required dependencies you should be @@ -30,9 +30,9 @@ able to use these commands to just clean and build generated sources of the theme: ``` -npm run clean -npm run build -npm run release +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` @@ -40,12 +40,11 @@ task we have defined to get the changes directly built after saving changes to a file: ``` -npm run watch +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] -(https://dl.gitea.io/theme) automatically. +the pull request the theme will be published to our [download page](https://dl.gitea.io/theme) automatically. ## Contributing diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index bce0b26..b3b60d6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@

- Copyright © {{ .Now.Year }} {{ .Site.Params.author }}. All rights reserved. Made with and Hugo. Sponsored by INBlockchain. + Copyright © {{ now.Year }} {{ .Site.Params.author }}. All rights reserved. Made with and Hugo. Sponsored by INBlockchain.