2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00
Files
bootstrap/site/layouts/_default/list.opensearch.xml
T
XhmikosR 0bba1b54b5 Make OpenSearch an output format.
Not sure if there's another way to do this...
2021-09-28 19:21:04 +03:00

8 lines
615 B
XML

<?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.Title }}</ShortName>
<Description>Search {{ .Site.Title }} documentation</Description>
<Image type="image/x-icon" width="16" height="16">{{ (printf "/docs/%s/assets/img/favicons/favicon.ico" .Site.Params.docs_version) | absURL }}</Image>
<Url type="text/html" method="get" template="{{ (printf "/docs/%s/getting-started/introduction/" .Site.Params.docs_version) | absURL }}#search={searchTerms}"/>
</OpenSearchDescription>