mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-26 13:30:13 +00:00
d560a6baef
* "method" is not a valid attribute of the `Url` element * "ShortName" cannot be empty - fixed site_name being used before it was assigned
15 lines
598 B
XML
15 lines
598 B
XML
{% load i18n %}{% load static %}<?xml version="1.0" encoding="UTF-8"?>
|
|
<OpenSearchDescription
|
|
xmlns="http://a9.com/-/spec/opensearch/1.1/"
|
|
xmlns:moz="http://www.mozilla.org/2006/browser/search/"
|
|
>
|
|
<ShortName>{{ site.name }}</ShortName>
|
|
<Description>{% blocktrans trimmed with site_name=site.name %}
|
|
{{ site_name }} search
|
|
{% endblocktrans %}</Description>
|
|
<Image width="16" height="16" type="image/x-icon">{{ image }}</Image>
|
|
<Url
|
|
type="text/html"
|
|
template="https://{{ DOMAIN }}{% url 'search' %}?q={searchTerms}"
|
|
/>
|
|
</OpenSearchDescription>
|