diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000000..4dcf598903e2 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: [tiekoettercom] +custom: https://www.tiekoetter.com/donate/ diff --git a/searx/infopage/de/donate.md b/searx/infopage/de/donate.md new file mode 100644 index 000000000000..555c84510113 --- /dev/null +++ b/searx/infopage/de/donate.md @@ -0,0 +1,5 @@ +# Spenden + +## An Tiekoetter.com spenden + +Tiekoetter.com unterstützen: [https://www.tiekoetter.com/spenden](https://www.tiekoetter.com/spenden) diff --git a/searx/infopage/en/donate.md b/searx/infopage/en/donate.md new file mode 100644 index 000000000000..2863fa6026b2 --- /dev/null +++ b/searx/infopage/en/donate.md @@ -0,0 +1,5 @@ +# Donate + +## Donate to Tiekoetter.com + +Support Tiekoetter.com: [https://www.tiekoetter.com/en/donate](https://www.tiekoetter.com/en/donate/) diff --git a/searx/settings.yml b/searx/settings.yml index b3c7f5ffe4d7..8d505f0592db 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -12,6 +12,8 @@ general: contact_url: false # record stats enable_metrics: true + legal_name: "" + legal_url: brand: new_issue_url: https://github.com/searxng/searxng/issues/new @@ -25,6 +27,9 @@ brand: # links: # Uptime: https://uptime.searxng.org/history/darmarit-org # About: "https://searxng.org" + website_name: "" + website_url: + donate_url: search: # Filter results. 0: None, 1: Moderate, 2: Strict diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index ff9b610f6daf..3ca21f783c5e 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -72,6 +72,9 @@ {% if get_setting('brand.public_instances') %} | {{ _('Public instances') }} {% endif %} + {% if get_setting('brand.website_url') and get_setting('brand.website_name') %} | {{ get_setting('brand.website_name') }}{% endif %} + {% if get_setting('brand.donate_url') %} | {{ _('Donate') }}{% endif %} + {% if get_setting('general.legal_url') and get_setting('general.legal_name') %} | {{ get_setting('general.legal_name') }}{% endif %} {% if get_setting('general.privacypolicy_url') %} | {{ _('Privacy policy') }} {% endif %} diff --git a/tests/robot/settings_robot.yml b/tests/robot/settings_robot.yml index ddf14bcbed7f..d9d361166cd1 100644 --- a/tests/robot/settings_robot.yml +++ b/tests/robot/settings_robot.yml @@ -1,6 +1,8 @@ general: debug: false instance_name: "searx_test" + legal_name: "test_legal" + legal_url: http://example.org/legal brand: git_url: https://github.com/searxng/searxng @@ -10,6 +12,9 @@ brand: docs_url: https://docs.searxng.org public_instances: https://searx.space wiki_url: https://github.com/searxng/searxng/wiki + website_name: "test_website1" + website_url: http://example.org/website1 + donate_url: http://example.org/website2 search: language: "all"