Gogs v0.12.1

update folder layouts for  injecting css
This commit is contained in:
Kos-M 2020-08-29 19:34:57 +03:00 committed by GitHub
parent fe3a732152
commit 7c89a34385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,17 +10,22 @@ If you find something not displayed good , feel free to contribute
## Velvet ## Velvet
- ````cd $GOGS_ROOT```` - ````cd $GOGS_ROOT````
- ````mkdir -p custom/templates/inject/````
- ````mkdir -p custom/public/css/````
- ```git clone https://github.com/Kos-M/GogsThemes.git``` - ```git clone https://github.com/Kos-M/GogsThemes.git```
- ````echo '<link rel="stylesheet" href="/css/themes/velvet.css">' >> templates/inject/head.tmpl```` - ````echo '<link rel="stylesheet" href="/css/themes/velvet.css">' >> custom/templates/inject/head.tmpl````
- ```mv ./GogsThemes/themes/velvet.css public/css/themes``` - ````mv ./GogsThemes/themes/ custom/public/css/````
- ````cp -r GogsThemes/img/ custom/public/````
- ```rm -r ./GogsThemes``` - ```rm -r ./GogsThemes```
## Dark ## Dark
- ````cd $GOGS_ROOT```` - ````cd $GOGS_ROOT````
- ````mkdir -p custom/templates/inject/````
- ````mkdir -p custom/public/css/````
- ```git clone https://github.com/Kos-M/GogsThemes.git``` - ```git clone https://github.com/Kos-M/GogsThemes.git```
- ````echo '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> templates/inject/head.tmpl```` - ````echo '<link rel="stylesheet" href="/css/themes/dark_theme.css">' >> custom/templates/inject/head.tmpl````
- ```mv ./GogsThemes/img/grad1.png public/img``` - ````mv ./GogsThemes/themes/ custom/public/css/````
- ```mv ./GogsThemes/themes/dark_theme.css public/css/themes``` - ````cp -r GogsThemes/img/ custom/public/````
- ```rm -r ./GogsThemes``` - ```rm -r ./GogsThemes```
## ScreensShots ## ScreensShots