From e40b247a9740e21d68116c2d28d51c40bdd042da Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 2 Feb 2019 17:05:18 +0000 Subject: [PATCH] Add OpenSearch and Google site search support --- app/public/static/opensearch.xml | 9 +++++++++ app/templates/base.html | 1 + app/templates/index.html | 15 +++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 app/public/static/opensearch.xml diff --git a/app/public/static/opensearch.xml b/app/public/static/opensearch.xml new file mode 100644 index 00000000..3fae00c5 --- /dev/null +++ b/app/public/static/opensearch.xml @@ -0,0 +1,9 @@ + + + ContentDB + ContentDB + UTF-8 + Search mods, games, and textures for Minetest. + Minetest Mod Game Subgame Search + + diff --git a/app/templates/base.html b/app/templates/base.html index 09ca9395..facdd631 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -8,6 +8,7 @@ {% block title %}title{% endblock %} - {{ config.USER_APP_NAME }} + {% block headextra %}{% endblock %} diff --git a/app/templates/index.html b/app/templates/index.html index e11b3c87..4d54b2d8 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -4,6 +4,21 @@ Welcome {% endblock %} +{% block scriptextra %} + +{% endblock %} + {% block content %}