Allow for search engine updates

This commit is contained in:
Daniel Marquard 2016-09-19 22:25:54 -04:00 committed by GitHub
parent d77deaa185
commit 5968f39d7e

View File

@ -8,6 +8,7 @@
<%- else -%> <%- else -%>
<Image type="image/png"><%= UrlHelper.absolute SiteSetting.favicon_url %></Image> <Image type="image/png"><%= UrlHelper.absolute SiteSetting.favicon_url %></Image>
<%- end %> <%- end %>
<Url type="text/html" method="get" template="<%= Discourse.base_url %>/search?q={searchTerms}"/> <Url type="application/opensearchdescription+xml" rel="self" template="<%= Discourse.base_url %>/opensearch.xml"/>
<Url type="text/html" template="<%= Discourse.base_url %>/search?q={searchTerms}"/>
<Query role="example" searchTerms="search term"/> <Query role="example" searchTerms="search term"/>
</OpenSearchDescription> </OpenSearchDescription>