25 lines
No EOL
1.2 KiB
HTML
25 lines
No EOL
1.2 KiB
HTML
<li>
|
|
<a class="search-result" href="{{ result.url }}">
|
|
<h2 class="search-title">{% match result.title %}{% when Some with (title) %}{{ title }}{% when None %}{{ result.url }}{% endmatch %}</h2>
|
|
<span class="resultstat">
|
|
{% match result.title %}
|
|
{% when Some with (_) %}<span class="search-url">{{ result.url }}</span>{% when None %}
|
|
{% endmatch %}
|
|
<span class="search-relevance">({{ result.percentage }}%, {{ result.value }} / {{ max_relevance }})</span>
|
|
<span class="enginelist">
|
|
{% if result.asklyphe %}
|
|
<img src="/static/img/tinylyphe.png" title="from askLyphe database"/>
|
|
{% endif %}
|
|
{% if result.bing %}
|
|
<img src="/static/img/tinybutterfly.png" title="from external search engine"/>
|
|
{% endif %}
|
|
{% if result.google %}
|
|
<img src="/static/img/tinyletter.png" title="from external search engine"/>
|
|
{% endif %}
|
|
</span>
|
|
</span>
|
|
{% match result.description %}{% when Some with (description) %}
|
|
<span class="search-description">{{ description }}</span>
|
|
{% when None %}{% endmatch %}
|
|
</a>
|
|
</li> |