Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 19fce744 authored by BBaoVanC's avatar BBaoVanC Committed by GitHub
Browse files

Add link to contact instance maintainer to footer of each page (#2391)

parent 5c6a5407
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ export GIT_URL=https://github.com/searx/searx
export GIT_BRANCH=master
export SEARX_URL=https://searx.me
export DOCS_URL=https://searx.github.io/searx
export CONTACT_URL=mailto:contact@example.com
# END Makefile setup

include utils/makefile.include
@@ -46,6 +47,7 @@ help-min:
	@echo  '  SEARX_URL = $(SEARX_URL)'
	@echo  '  GIT_URL   = $(GIT_URL)'
	@echo  '  DOCS_URL  = $(DOCS_URL)'
	@echo  '  CONTACT_URL = $(CONTACT_URL)'
	@echo  ''
	@$(MAKE) -e -s make-help

@@ -124,6 +126,7 @@ buildenv:
	$(Q)echo "SEARX_URL = '$(SEARX_URL)'" >> searx/brand.py
	$(Q)echo "DOCS_URL = '$(DOCS_URL)'" >> searx/brand.py
	$(Q)echo "PUBLIC_INSTANCES = 'https://searx.space'" >> searx/brand.py
	$(Q)echo "CONTACT_URL = '$(CONTACT_URL)'" >> searx/brand.py
	$(Q)echo "build utils/brand.env"
	$(Q)echo "export GIT_URL='$(GIT_URL)'"  > utils/brand.env
	$(Q)echo "export GIT_BRANCH='$(GIT_BRANCH)'"  >> utils/brand.env
@@ -131,6 +134,7 @@ buildenv:
	$(Q)echo "export SEARX_URL='$(SEARX_URL)'" >> utils/brand.env
	$(Q)echo "export DOCS_URL='$(DOCS_URL)'" >> utils/brand.env
	$(Q)echo "export PUBLIC_INSTANCES='https://searx.space'" >> utils/brand.env
	$(Q)echo "export CONTACT_URL='$(CONTACT_URL)'" >> utils/brand.env


# node / npm
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ ISSUE_URL = 'https://github.com/searx/searx/issues'
SEARX_URL = 'https://searx.me'
DOCS_URL = 'https://searx.github.io/searx'
PUBLIC_INSTANCES = 'https://searx.space'
CONTACT_URL = 'mailto:contact@example.com'
+2 −1
Original line number Diff line number Diff line
@@ -88,7 +88,8 @@
                    {{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
                    <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
                    <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
                    <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>
                    <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> |
                    <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
                </small>
            </p>
        </div>
+2 −1
Original line number Diff line number Diff line
@@ -54,7 +54,8 @@
    {{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
        <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
        <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
        <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>
        <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> |
        <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
    </p>
  </footer>
  <!--[if gte IE 9]>-->
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ export ISSUE_URL='https://github.com/searx/searx/issues'
export SEARX_URL='https://searx.me'
export DOCS_URL='https://searx.github.io/searx'
export PUBLIC_INSTANCES='https://searx.space'
export CONTACT_URL='mailto:contact@example.com'