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:
Alexandre Flament 2022-07-02 11:29:21 +02:00
parent da416511b5
commit f8f239fe1f
5 changed files with 23 additions and 9 deletions

View file

@ -1,9 +1,17 @@
general:
debug: false # Debug mode, only for development
instance_name: "SearXNG" # displayed name
privacypolicy_url: false # https://example.com/privacy
contact_url: false # mailto:contact@example.com
enable_metrics: true # record stats
# Debug mode, only for development
debug: false
# displayed name
instance_name: "SearXNG"
# For example: https://example.com/privacy
privacypolicy_url: false
# use true to use your own donation page written in searx/info/en/donate.md
# use false to disable the donation link
donation_url: https://docs.searxng.org/donate.html
# mailto:contact@example.com
contact_url: false
# record stats
enable_metrics: true
brand:
new_issue_url: https://github.com/searxng/searxng/issues/new