[fix] proper src/href url handling

This commit is contained in:
Adam Tauber
2014-03-04 20:31:03 +01:00
parent e86947d79c
commit a4f89a7981
7 changed files with 18 additions and 18 deletions

View File

@@ -6,19 +6,19 @@
<meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1" />
<title>{% block title %}{% endblock %}searx</title>
<link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}?v=2" />
{% block styles %}
{% endblock %}
{% block head %}
<link title="searx" type="application/opensearchdescription+xml" rel="search" href="/opensearch.xml"/>
<link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
{% endblock %}
</head>
<body>
<div id="container">
{% block content %}
{% endblock %}
<script src="/static/js/searx.js" ></script>
<script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
</div>
</body>
</html>