<!DOCTYPE html>
<html>
<head><title>Search Results</title></head>
<body>
  <h1>Search Results</h1>
  <p>You searched for: <span id="query"></span></p>
  <script>
    var query = "{{ search_query }}";
    document.getElementById("query").innerHTML = query;
  </script>
  <ul>
    {% for result in results %}
    <li>{{ result.title }}</li>
    {% endfor %}
  </ul>
</body>
</html>
