From 8c077a4caa73c7e4a5e148195f1d6d3cdae572cf Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 7 Feb 2010 09:57:26 -0600 Subject: 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 --- templates/base.html | 1 + templates/packages/opensearch.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 templates/packages/opensearch.xml (limited to 'templates') 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 @@ + {% block head %} {% endblock %} diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml new file mode 100644 index 0000000..711b36a --- /dev/null +++ b/templates/packages/opensearch.xml @@ -0,0 +1,13 @@ + + + Arch Linux Packages + Search the Arch Linux package repositories. + linux archlinux package software + {{domain}}/media/favicon.ico + en-us + UTF-8 + UTF-8 + + + + -- cgit v1.2.3-24-g4f1b