Skip to content

Commit 1680c1a

Browse files
committed
Add noindex meta tag to prevent idxing by search engines.
Use templating to inject a meta tag in the html header to prevent indexing by search engines. Note: to be removed when URL redirection issue is solved. Ref: https://developers.google.com/search/reference/robots_meta_tag
1 parent f27c586 commit 1680c1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/_templates/layout.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "!layout.html" %}
2+
{% block extrahead %}
3+
<meta name="robots" content="noindex" />
4+
{{ super() }}
5+
{% endblock %}

0 commit comments

Comments
 (0)