Skip to content

Commit 82b5ca3

Browse files
committed
Apply noindesx at docs page with version =! 9
1 parent 907790f commit 82b5ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta property="og:title" content="{% if page.title %}RESTHeart - {{ page.title }}{% else %}{{ site.title }}{% endif %}">
1212
<meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
1313
<meta property="og:locale" content="en">
14-
{% if page.docs_version != null and page.docs_version != 8 %}
14+
{% if page.docs_version != null and page.docs_version != 9 %}
1515
<!-- avoid search engine indexing of old documentation pages -->
1616
<meta name="robots" content="noindex,nofollow">
1717
{% endif %}

0 commit comments

Comments
 (0)