mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-14 20:24:56 +02:00
24 lines
1005 B
JavaScript
24 lines
1005 B
JavaScript
"use strict";
|
|
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = `
|
|
<?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><%= it.title %></ShortName>
|
|
<Description>Search <%= it.title %></Description>
|
|
<InputEncoding>UTF-8</InputEncoding>
|
|
<% if (it.faviconUrl) { _%>
|
|
<Image width="16" height="16" type="image/x-icon"><%= it.faviconUrl %></Image>
|
|
<% } _%>
|
|
<Url type="text/html" method="get" template="<%= it.searchUrl %>?q={searchTerms}"/>
|
|
<Url type="application/opensearchdescription+xml" rel="self" template="<%= it.siteUrl %>opensearch.xml" />
|
|
<moz:SearchForm><%= it.siteUrl %></moz:SearchForm>
|
|
</OpenSearchDescription>
|
|
`;
|