From 8ecb818f65dd756267949f5fd0241838e8ccb50d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 12 Nov 2021 07:32:15 +0100 Subject: [PATCH 1/2] the path for the assets has changed --- custom/templates/home.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/templates/home.tmpl b/custom/templates/home.tmpl index 73a5616..2e16ada 100644 --- a/custom/templates/home.tmpl +++ b/custom/templates/home.tmpl @@ -3,7 +3,7 @@
- +

From abeff96283dd806a6f8e6585beeea3eac4c85902 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 12 Nov 2021 07:36:26 +0100 Subject: [PATCH 2/2] update PATH information in the README After the November upgrade of the server, the Friendica logo was not displayed on the landing page of Gitea. Turn out 1.) The `img` directory in the `custom` directory is now accessed as `assets/img` and not only `img` 2.) While the `home.tepl` file is still located in `/var/lib/gitea` the `img` directory now has to be in `/usr/share/gitea` The problem may be caused in changes in the configuration file which had to be restored from a backup some month old. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de4c6f4..9d027ac 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ These files are the cutsom files for git.friendi.ca. They are overriding the default template files of gitea. -The content of `custom` needs to be placed in `/var/lib/gitea` (at least at git.friendi.ca). +The content of `custom` needs to be placed in `/var/lib/gitea` and `/usr/share/gitea` (at least at git.friendi.ca). +Files there are accessed in the `assets` path. ## Translation