diff --git a/docs/reference/index.md b/docs/reference/index.md
index 49a90db22..ab5f7c477 100644
--- a/docs/reference/index.md
+++ b/docs/reference/index.md
@@ -259,7 +259,7 @@ e.g. to add indexing policies for search engines via the `robots` property:
{% extends "base.html" %}
{% block extrahead %}
-
+
{% endblock %}
```
@@ -276,9 +276,9 @@ template override, e.g.:
{% block extrahead %}
{% if page and page.meta and page.meta.robots %}
-
+
{% else %}
-
+
{% endif %}
{% endblock %}
```