Skip to content

Commit

Permalink
Add noindex to page meta itself
Browse files Browse the repository at this point in the history
  • Loading branch information
frankwiles committed Aug 27, 2024
1 parent 68d18fd commit 6cec5f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/nuremberg/core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=360, initial-scale=0.75">
<!-- testing -->
{% block extra_head_meta %}{% endblock extra_head_meta %}

<title>Nuremberg - {% block title %}Base Page{% endblock %}</title>

Expand Down
5 changes: 5 additions & 0 deletions web/nuremberg/search/templates/search/new-search.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

{% block body_class %}document-search{% endblock %}

{% block extra_head_meta %}
<meta name="robots" content="noindex">
{% endblock extra_head_meta %}


{% block extra_head_js %}
<script type="module">
import RefreshRuntime from 'http://localhost:5173/static/@react-refresh'
Expand Down

0 comments on commit 6cec5f4

Please sign in to comment.