summaryrefslogtreecommitdiff
path: root/searx/templates/index.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-03-04 20:31:03 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-03-04 20:31:03 +0100
commita4f89a798196f7d0c8a72ca80b34d2e9b6c040d5 (patch)
treea994b6f00168fd908489b8adc3d6922e3ab77a4c /searx/templates/index.html
parente86947d79c0c1b380e718bc06072285e8a6ca8ed (diff)
[fix] proper src/href url handling
Diffstat (limited to 'searx/templates/index.html')
-rw-r--r--searx/templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/index.html b/searx/templates/index.html
index 18320ae09..57b67ef09 100644
--- a/searx/templates/index.html
+++ b/searx/templates/index.html
@@ -4,8 +4,8 @@
<div class="title"><h1>searx</h1></div>
{% include 'search.html' %}
<p class="top_margin">
- <a href="/about" class="hmarg">{{ _('about') }}</a>
- <a href="/preferences" class="hmarg">{{ _('preferences') }}</a>
+ <a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a>
+ <a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a>
</p>
</div>
{% endblock %}