summaryrefslogtreecommitdiff
path: root/searx/templates/courgette/github_ribbon.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 11:49:33 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-25 11:49:33 +0100
commit04c687403e21f883f9614e6a24df9ec450cfc111 (patch)
tree716ead4c08367dc7b872f5d5e10103ff6c039481 /searx/templates/courgette/github_ribbon.html
parent9a2f26d915ee05d933a18c31bca2121658aa7ffd (diff)
downloadsearxng-04c687403e21f883f9614e6a24df9ec450cfc111.tar.gz
searxng-04c687403e21f883f9614e6a24df9ec450cfc111.zip
[fix] brands: add variables from build env to jinja templating
We have some variables in the build environment which are also needed in the templating process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/courgette/github_ribbon.html')
-rw-r--r--searx/templates/courgette/github_ribbon.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/courgette/github_ribbon.html b/searx/templates/courgette/github_ribbon.html
index 67c6e678f..f6eaa123c 100644
--- a/searx/templates/courgette/github_ribbon.html
+++ b/searx/templates/courgette/github_ribbon.html
@@ -1,3 +1,3 @@
-<a href="https://github.com/asciimoo/searx" class="github">
+<a href="{{ brand.GIT_URL }}" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ url_for('static', filename='img/github_ribbon.png') }}" alt="Fork me on GitHub" class="github"/>
-</a> \ No newline at end of file
+</a>