moviewyrm/bookwyrm/templates/opensearch.xml

17 lines
619 B
XML
Raw Normal View History

2021-09-28 02:28:50 +00:00
{% load i18n %}{% load static %}<?xml version="1.0" encoding="UTF-8"?>
2021-09-28 02:05:13 +00:00
<OpenSearchDescription
xmlns="http://a9.com/-/spec/opensearch/1.1/"
2021-09-28 02:28:50 +00:00
xmlns:moz="http://www.mozilla.org/2006/browser/search/"
2021-09-28 02:05:13 +00:00
>
<ShortName>{{ site_name }}</ShortName>
2021-09-28 02:05:13 +00:00
<Description>{% blocktrans trimmed with site_name=site.name %}
{{ site_name }} search
{% endblocktrans %}</Description>
2021-09-28 02:28:50 +00:00
<Image width="16" height="16" type="image/x-icon">{{ image }}</Image>
<Url
type="text/html"
method="get"
template="https://{{ DOMAIN }}{% url 'search' %}?q={searchTerms}"
/>
2021-09-10 23:47:59 +00:00
</OpenSearchDescription>