diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-03-04 20:31:03 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-03-04 20:31:03 +0100 |
| commit | a4f89a798196f7d0c8a72ca80b34d2e9b6c040d5 (patch) | |
| tree | a994b6f00168fd908489b8adc3d6922e3ab77a4c /searx/templates/index.html | |
| parent | e86947d79c0c1b380e718bc06072285e8a6ca8ed (diff) | |
[fix] proper src/href url handling
Diffstat (limited to 'searx/templates/index.html')
| -rw-r--r-- | searx/templates/index.html | 4 |
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 %} |