Browse Source

Update 'README.md'

master
AJ ONeal 6 years ago
parent
commit
a86e981db5
  1. 15
      README.md

15
README.md

@ -39,6 +39,14 @@ which database to use, certain gitea paths, an admin user, etc.
> http://localhost:3000/ > 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 ## Customize Gitea Theme
All overrides to the existing theme can be placed in the `custom/public` and `custom/templates` folders. 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/public
/opt/gitea/custom/templates /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`. 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: You can find more information about customization and templates in the docs and on github:
* https://docs.gitea.io/en-us/customizing-gitea/ * https://docs.gitea.io/en-us/customizing-gitea/

Loading…
Cancel
Save