summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-07 16:57:26 +0100
committerDan McGee <dan@archlinux.org>2010-02-09 04:01:15 +0100
commit8c077a4caa73c7e4a5e148195f1d6d3cdae572cf (patch)
treec69b42fdf68773894baf45b1f1feefe1f20eb849 /templates/base.html
parentf445754db57f37dcb1821a9330aa238632457146 (diff)
downloadarchweb-8c077a4caa73c7e4a5e148195f1d6d3cdae572cf.tar.gz
archweb-8c077a4caa73c7e4a5e148195f1d6d3cdae572cf.tar.xz
Add OpenSearch support to the site
Implements FS#14185. It is a bit more complex than listed there as I wanted to not hardcode the URLs in the descriptor file; to do this we need to make it a template and fill some things in. We also need to serve the file using the correct mime type. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index bbdfe74..39b2a62 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,6 +7,7 @@
<link rel="stylesheet" type="text/css" href="/media/arch.css" />
<link rel="icon" type="image/x-icon" href="/media/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" />
+ <link rel="search" type="application/opensearchdescription+xml" href="/opensearch/packages/" title="Arch Linux Packages" />
{% block head %}
{% endblock %}
</head>