mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
Donation link: default value to searxng.org, can be hidden or custom
Add a new setting: general.donation_url By default the value is https://docs.searxng.org/donate.html When the value is false, the link is hidden When the value is true, the link goes to the infopage donation, the administrator can create a custom page.
This commit is contained in:
parent
da416511b5
commit
f8f239fe1f
5 changed files with 23 additions and 9 deletions
|
@ -142,6 +142,7 @@ SCHEMA = {
|
|||
'instance_name': SettingsValue(str, 'SearXNG'),
|
||||
'privacypolicy_url': SettingsValue((None, False, str), None),
|
||||
'contact_url': SettingsValue((None, False, str), None),
|
||||
'donation_url': SettingsValue((bool, str), "https://docs.searxng.org/donate.html"),
|
||||
'enable_metrics': SettingsValue(bool, True),
|
||||
},
|
||||
'brand': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue