diff options
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/base.html | 1 | ||||
| -rw-r--r-- | app/templates/index.html | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html index 09ca939..facdd63 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -8,6 +8,7 @@ <title>{% block title %}title{% endblock %} - {{ config.USER_APP_NAME }}</title> <link rel="stylesheet" type="text/css" href="/static/bootstrap.css"> <link rel="stylesheet" type="text/css" href="/static/custom.css?v=6"> + <link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" /> {% block headextra %}{% endblock %} </head> 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"> |
