Skip to content

Commit ac41d0b

Browse files
committed
Make search results not indexable
1 parent f59b8f9 commit ac41d0b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

templates/web/search.html.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{% embed "web/list.html.twig" %}
22
{% block content %}
33
{% endblock %}
4+
5+
{% block head_additions %}<meta name="robots" content="noindex, nofollow">{% endblock %}
46
{% endembed %}

web/robots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
User-agent: *
55
Disallow: /p/
66
Disallow: /p2/
7+
Disallow: /search/

0 commit comments

Comments
 (0)