forked from Ponysearch/Ponysearch
Tiny forgots
This commit is contained in:
parent
4238812a51
commit
2c15546518
2 changed files with 1 additions and 2 deletions
|
@ -43,7 +43,6 @@ def response(resp):
|
|||
|
||||
# parse results
|
||||
for result in search_res['responseData']['results']:
|
||||
print result
|
||||
href = result['originalContextUrl']
|
||||
title = result['title']
|
||||
if not result['url']:
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<h4 class="modal-title">{% if result.engine~".png" in favicons %}{{ draw_favicon(result.engine) }} {% endif %}{{ result.title|striptags }}</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<img class="img-responsive center-block" src="{{ result.thumbnail_src }}" alt="{{ result.title|striptags }}">
|
||||
<img class="img-responsive center-block" src="{{ image_proxify(result.thumbnail_src) }}" alt="{{ result.title|striptags }}">
|
||||
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
Loading…
Reference in a new issue