You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/customizing-gitea.en-us.md
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -58,22 +58,18 @@ To make Gitea serve custom public files (like pages and images), use the folder
58
58
For example, a file `image.png` stored in `$GITEA_CUSTOM/public/`, can be accessed with
59
59
the url `http://gitea.domain.tld/image.png`.
60
60
61
-
## Changing the default logo
61
+
## Changing the logo
62
62
63
-
To build a custom logo replace `assets/logo.svg` and run`make generate-images`. This will update
64
-
these customizable logo files which you can then place in `$GITEA_CUSTOM/public/img` on your server:
63
+
To build a custom logo clone the Gitea source repository, replace `assets/logo.svg` and run
64
+
`make generate-images`. This will update below output files which you can then place in `$GITEA_CUSTOM/public/img` on your server:
65
65
66
-
-`public/img/logo.svg`
67
-
-`public/img/logo.png`
68
-
-`public/img/favicon.png`
69
-
-`public/img/avatar_default.png`
70
-
-`public/img/apple-touch-icon.png`
66
+
-`public/img/logo.svg` - Used for favicon, site icon, app icon
67
+
-`public/img/logo.png` - Used for Open Graph
68
+
-`public/img/favicon.png` - Used as fallback for browsers that don't support SVG favicons
69
+
-`public/img/avatar_default.png` - Used as the default avatar image
70
+
-`public/img/apple-touch-icon.png` - Used on iOS devices for bookmarks
71
71
72
-
## Changing the default avatar
73
-
74
-
Either generate it via above method or place the png image at the following path:
75
-
76
-
-`$GITEA_CUSTOM/public/img/avatar_default.png`
72
+
In case the source image is not in vector format, you can attempt to convert a raster image using tools like [this](https://www.aconvert.com/image/png-to-svg/).
0 commit comments