From 565f06eb867f97912710f2eaf593549f21491da5 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Jan 21 2025 03:43:49 +0000 Subject: Create opensearch definition and link from main page Create specification defined on page: https://github.com/dewitt/opensearch Link it from main page to simplify addition of search engine into engine. It seems to require full URL to search definition and the page, not just relative paths used elsewhere. Point by default to production instance packages.fedoraproject.org. --- diff --git a/assets/opensearch.xml b/assets/opensearch.xml new file mode 100644 index 0000000..b4d1ff1 --- /dev/null +++ b/assets/opensearch.xml @@ -0,0 +1,10 @@ + + fedpkg + Fedora Packages + UTF-8 + assets/images/logo.ico + assets/images/logo.ico + + https://packages.fedoraproject.org/ + diff --git a/templates/layout.html.j2 b/templates/layout.html.j2 index aaf7ff8..4d72284 100644 --- a/templates/layout.html.j2 +++ b/templates/layout.html.j2 @@ -4,6 +4,7 @@ + {% if no_index %}