You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx/templates/simple
Markus Heiser 3f638ed196 [mod] drop usage of the searx.brand namespace (templates & /config)
In the templates and the /config (JSON) the usage of the 'brand.*' name
space is replaced by 'searx.get_setting' function.

- new_issue_url          --> get_setting('brand.new_issue_url')
- brand.GIT_URL          --> get_setting('brand.git_url')
- brand.PUBLIC_INSTANCES --> get_setting('brand.public_instances')
- brand.DOCS_URL         --> get_setting('brand.docs_url')
- brand.ISSUE_URL        --> get_setting('brand.issue_url')
- brand.CONTACT_URL      --> get_setting('general.contact_url', '')

The macro 'new_issue' from searx/templates/*/messages/no_results.html
is now imported with context::

    {% from '__common__/new_issue.html' import new_issue with context %}

To get *public instances URL* from context's 'get_setting()' function::

    get_setting('brand.public_instances','')

Macro's prototype does no longer need the 'new_issue_url' argument and has been
changed to::

    macro new_issue(engine_name, engine_reliability)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
messages [mod] drop usage of the searx.brand namespace (templates & /config) 3 years ago
result_templates [fix] make simple/result_templates/map.html more CSP compliant [1] 3 years ago
404.html Drop Python 2 (2/n): templates 4 years ago
about.html [enh] add simple theme (WIP) 7 years ago
base.html [mod] drop usage of the searx.brand namespace (templates & /config) 3 years ago
categories.html [enh] add simple theme (WIP) 7 years ago
index.html [enh] add simple theme (WIP) 7 years ago
infobox.html [mod] separate index and search routes 4 years ago
languages.html [enh] add simple theme (WIP) 7 years ago
macros.html [mod] option to enable or disable "proxy" button next to each result (#54) 3 years ago
preferences.html [fix] offline engines: fix templates /stats and /preferences 3 years ago
results.html [enh] add settings option to enable/disable search formats 3 years ago
search.html [mod] separate index and search routes 4 years ago
simple.spec.txt [enh] add simple theme (WIP) 7 years ago
stats.html [mod] drop usage of the searx.brand namespace (templates & /config) 3 years ago
time-range.html [enh] add simple theme (WIP) 7 years ago