aboutsummaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGusted2022-08-25 20:38:41 +0200
committerGitHub2022-08-25 20:38:41 +0200
commit27ac65a124f34ec3ed5f34aeb576f918ae1c70b1 (patch)
tree2c31f4d30e5bfce87056c397fcdae6c6e86c5788 /custom
parentdc0253b0637bbf367ad330612900e780c6b2b0e6 (diff)
Only show relevant repositories on explore page (#19361)
Adds a new option to only show relevant repo's on the explore page, for bigger Gitea instances like Codeberg this is a nice option to enable to make the explore page more populated with unique and "high" quality repo's. A note is shown that the results are filtered and have the possibility to see the unfiltered results. Co-authored-by: vednoc <vednoc@protonmail.com> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 0949c3d39..1561a53da 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1164,6 +1164,10 @@ ROUTER = console
;;
;; Whether to enable a Service Worker to cache frontend assets
;USE_SERVICE_WORKER = false
+;;
+;; Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
+;; A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
+;ONLY_SHOW_RELEVANT_REPOS = false
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;