From a86e981db583255a074636fd9cbf987d0046645a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 26 Mar 2018 06:32:53 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d96a6ff..f876c14 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,14 @@ which database to use, certain gitea paths, an admin user, etc. > http://localhost:3000/ +## Customize Gitea + +``` +/opt/gitea/custom/conf/app.ini + +https://github.com/go-gitea/gitea/tree/master/custom/conf/app.ini.sample +``` + ## Customize Gitea Theme All overrides to the existing theme can be placed in the `custom/public` and `custom/templates` folders. @@ -47,11 +55,16 @@ All overrides to the existing theme can be placed in the `custom/public` and `cu ``` /opt/gitea/custom/public /opt/gitea/custom/templates + +/opt/gitea/custom/public/img/favicon.png # 16x16 logo in tab +/opt/gitea/custom/public/img/gitea-sm.png # 120x120 logo on all pages +/opt/gitea/custom/public/img/gitea-sm.png # 880x880 logo on landing page + +/opt/gitea/custom/templates/home.tmpl # The landing page ``` For many items, such as the logo, you can simply right-click "inspect" to discover the location. For example, the small logo is `/img/gitea-sm.png` or `/opt/gitea/custom/public/img/gitea-sm.png`. - You can find more information about customization and templates in the docs and on github: * https://docs.gitea.io/en-us/customizing-gitea/