diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-16 00:56:54 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-16 00:56:54 +0100 |
commit | 2fc1de54da6c81ab99240b2f69319dfc62d6dd2e (patch) | |
tree | d72b4b67d5a7e29924e1a4979a74c37729aa380f /searx/templates/courgette/result_templates/code.html | |
parent | 14447a0761220ec352c889c9bc3d4ba22ee3494e (diff) | |
download | searxng-2fc1de54da6c81ab99240b2f69319dfc62d6dd2e.tar.gz searxng-2fc1de54da6c81ab99240b2f69319dfc62d6dd2e.zip |
Lots of courgette modification
Diffstat (limited to 'searx/templates/courgette/result_templates/code.html')
-rw-r--r-- | searx/templates/courgette/result_templates/code.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/searx/templates/courgette/result_templates/code.html b/searx/templates/courgette/result_templates/code.html index 616b7ea62..444366b85 100644 --- a/searx/templates/courgette/result_templates/code.html +++ b/searx/templates/courgette/result_templates/code.html @@ -1,9 +1,9 @@ <div class="result {{ result.class }}">
- <h3 class="result_title"> {% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />{% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
- <p class="url">{{ result.pretty_url }} <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}">cached</a></p>
- {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
+ <h3 class="result_title">{% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />{% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
+ {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
<p class="content">{% if result.img_src %}<img src="{{ result.img_src }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p>
- {% if result.repository %}<p class="result-content"><a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
-
+ {% if result.repository %}<p class="content"><a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
{{ result.codelines|code_highlighter(result.code_language)|safe }}
-</div>
+
+ <p class="url">{{ result.pretty_url }}</p>
+</div>
\ No newline at end of file |