Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/opensearch.xml.erb')
-rw-r--r--app/views/search/opensearch.xml.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/search/opensearch.xml.erb b/app/views/search/opensearch.xml.erb
new file mode 100644
index 00000000000..9d08f56f290
--- /dev/null
+++ b/app/views/search/opensearch.xml.erb
@@ -0,0 +1,9 @@
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
+ xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+ <ShortName>GitLab</ShortName>
+ <Description>Search GitLab</Description>
+ <InputEncoding>UTF-8</InputEncoding>
+ <Image width="16" height="16" type="image/x-icon"><%= root_url %>favicon.ico</Image>
+ <Url type="text/html" method="get" template="<%= search_url %>?search={searchTerms}"/>
+ <moz:SearchForm><%= search_url %></moz:SearchForm>
+</OpenSearchDescription> \ No newline at end of file