summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index f6fe99e5..fae2037e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -81,6 +81,18 @@
the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.</p>
</div>
</div>
+ <script type="application/ld+json">
+ {
+ "@context": "http://schema.org",
+ "@type": "WebSite",
+ "url": "{{ domain }}/",
+ "potentialAction": {
+ "@type": "SearchAction",
+ "target": "{{ domain }}/packages/?q={search_term}",
+ "query-input": "required name=search_term"
+ }
+ }
+ </script>
{% block script_block %}{% endblock %}
</body>
</html>