aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-02-02 17:05:18 +0000
committerrubenwardy <rw@rubenwardy.com>2019-02-02 17:05:18 +0000
commite40b247a9740e21d68116c2d28d51c40bdd042da (patch)
tree3f4246e16a50f19c4fa4bb33c08daf68fed54ab7 /app/templates/index.html
parenta79cc758edd201cb878326c7f6d846a4761daefd (diff)
downloadcheatdb-e40b247a9740e21d68116c2d28d51c40bdd042da.tar.xz
Add OpenSearch and Google site search support
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index e11b3c8..4d54b2d 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -4,6 +4,21 @@
Welcome
{% endblock %}
+{% block scriptextra %}
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@type": "WebSite",
+ "url": "https://content.minetest.net/",
+ "potentialAction": {
+ "@type": "SearchAction",
+ "target": "https://content.minetest.net/packages?q={search_term_string}",
+ "query-input": "required name=search_term_string"
+ }
+}
+</script>
+{% endblock %}
+
{% block content %}
<!-- <header class="jumbotron">
<div class="container">