From 7c89a343850ba115a3b68fd78697d32fcb3e1c86 Mon Sep 17 00:00:00 2001 From: Kos-M <46938390+Kos-M@users.noreply.github.com> Date: Sat, 29 Aug 2020 19:34:57 +0300 Subject: [PATCH] Gogs v0.12.1 update folder layouts for injecting css --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 582baed..c73102f 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,22 @@ If you find something not displayed good , feel free to contribute ## Velvet - ````cd $GOGS_ROOT```` + - ````mkdir -p custom/templates/inject/```` + - ````mkdir -p custom/public/css/```` - ```git clone https://github.com/Kos-M/GogsThemes.git``` - - ````echo '' >> templates/inject/head.tmpl```` - - ```mv ./GogsThemes/themes/velvet.css public/css/themes``` + - ````echo '' >> custom/templates/inject/head.tmpl```` + - ````mv ./GogsThemes/themes/ custom/public/css/```` + - ````cp -r GogsThemes/img/ custom/public/```` - ```rm -r ./GogsThemes``` ## Dark - ````cd $GOGS_ROOT```` + - ````mkdir -p custom/templates/inject/```` + - ````mkdir -p custom/public/css/```` - ```git clone https://github.com/Kos-M/GogsThemes.git``` - - ````echo '' >> templates/inject/head.tmpl```` - - ```mv ./GogsThemes/img/grad1.png public/img``` - - ```mv ./GogsThemes/themes/dark_theme.css public/css/themes``` + - ````echo '' >> custom/templates/inject/head.tmpl```` + - ````mv ./GogsThemes/themes/ custom/public/css/```` + - ````cp -r GogsThemes/img/ custom/public/```` - ```rm -r ./GogsThemes``` ## ScreensShots