From 6b17afb929c84b60e6a9a06332eab416c25e8f74 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 9 May 2024 23:47:05 +0200 Subject: [PATCH] Prepare repo for Docker & Forgejo --- README.md | 5 ++--- custom/public/{ => assets}/img/favicon.ico | Bin custom/public/{ => assets}/img/favicon.png | Bin custom/public/{ => assets}/img/friendica-128.png | Bin custom/public/{ => assets}/img/friendica-256.png | Bin custom/public/{ => assets}/img/gitea-sm.png | Bin custom/public/robots.txt | 2 ++ 7 files changed, 4 insertions(+), 3 deletions(-) rename custom/public/{ => assets}/img/favicon.ico (100%) rename custom/public/{ => assets}/img/favicon.png (100%) rename custom/public/{ => assets}/img/friendica-128.png (100%) rename custom/public/{ => assets}/img/friendica-256.png (100%) rename custom/public/{ => assets}/img/gitea-sm.png (100%) create mode 100644 custom/public/robots.txt diff --git a/README.md b/README.md index 9d027ac..6b134d2 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ # Custom files for git.friendi.ca 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` and `/usr/share/gitea` (at least at git.friendi.ca). -Files there are accessed in the `assets` path. +They are overriding the default template files of Forgejo. +The content of `custom` is mounted inside the Docker container at `/var/lib/gitea/custom`. ## Translation diff --git a/custom/public/img/favicon.ico b/custom/public/assets/img/favicon.ico similarity index 100% rename from custom/public/img/favicon.ico rename to custom/public/assets/img/favicon.ico diff --git a/custom/public/img/favicon.png b/custom/public/assets/img/favicon.png similarity index 100% rename from custom/public/img/favicon.png rename to custom/public/assets/img/favicon.png diff --git a/custom/public/img/friendica-128.png b/custom/public/assets/img/friendica-128.png similarity index 100% rename from custom/public/img/friendica-128.png rename to custom/public/assets/img/friendica-128.png diff --git a/custom/public/img/friendica-256.png b/custom/public/assets/img/friendica-256.png similarity index 100% rename from custom/public/img/friendica-256.png rename to custom/public/assets/img/friendica-256.png diff --git a/custom/public/img/gitea-sm.png b/custom/public/assets/img/gitea-sm.png similarity index 100% rename from custom/public/img/gitea-sm.png rename to custom/public/assets/img/gitea-sm.png diff --git a/custom/public/robots.txt b/custom/public/robots.txt new file mode 100644 index 0000000..69084d2 --- /dev/null +++ b/custom/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /*/archive/*