Opensearch: Use favicon if available

This commit is contained in:
Aaron Carlisle
2019-07-04 09:42:03 -04:00
committed by Takeshi KOMIYA
parent 1cc1481771
commit c6d9924735

View File

@@ -6,5 +6,8 @@
<Url type="text/html" method="get"
template="{{ use_opensearch }}/{{ pathto('search') }}?q={searchTerms}"/>
<LongName>{{ docstitle|e }}</LongName>
{%- if favicon %}
<Image height="16" width="16" type="image/x-icon">{{ use_opensearch }}/{{ pathto('_static/' + favicon, 1) }}</Image>
{%- endif %}
{% block extra %} {# Put e.g. an <Image> element here. #} {% endblock %}
</OpenSearchDescription>