summaryrefslogtreecommitdiff
path: root/searx/templates/__common__
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-07-27 18:37:46 +0200
committerAlexandre Flament <alex@al-f.net>2021-07-30 14:40:09 +0200
commit4b43775c91a3c2ef415527edb4b3c041859453b4 (patch)
treead1290823e83664e16be560f7e5ae59c77a9efc7 /searx/templates/__common__
parent24fcd7475a280e74105840b7b63fca3be4dbf397 (diff)
downloadsearxng-4b43775c91a3c2ef415527edb4b3c041859453b4.tar.gz
searxng-4b43775c91a3c2ef415527edb4b3c041859453b4.zip
version based on the git repository
This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
Diffstat (limited to 'searx/templates/__common__')
-rw-r--r--searx/templates/__common__/about.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/__common__/about.html b/searx/templates/__common__/about.html
index 96ebab28a..707802d45 100644
--- a/searx/templates/__common__/about.html
+++ b/searx/templates/__common__/about.html
@@ -11,7 +11,7 @@
<p>More about SearXNG ...</p>
<ul>
- <li><a href="{{ get_setting('brand.git_url') }}">SearXNG sources</a></li>
+ <li><a href="{{ searx_git_url }}">SearXNG sources</a></li>
<li><a href="https://www.transifex.com/projects/p/searx/">transifex</a></li>
</ul>
@@ -30,7 +30,7 @@
</li>
<li>
SearXNG is free software, the code is 100% open and you can help to make
- it better. See more on <a href="{{ get_setting('brand.git_url')
+ it better. See more on <a href="{{ searx_git_url
}}">SearXNG sources</a>.
</li>
</ul>
@@ -81,7 +81,7 @@
<p>
SearXNG appreciates your concern regarding logs, so take the code from
- the <a href="{{ get_setting('brand.git_url') }}">SearXNG project</a> and
+ the <a href="{{ searx_git_url }}">SearXNG project</a> and
run it yourself!
</p>
<p>
@@ -95,7 +95,7 @@
<p>
See the <a href="{{ get_setting('brand.docs_url') }}">SearXNG docs</a>
- and <a href="{{ get_setting('brand.git_url') }}">SearXNG sources</a>
+ and <a href="{{ searx_git_url }}">SearXNG sources</a>
</p>
</div>