Skip to content

Commit 9805b3c

Browse files
authored
Merge pull request #5244 from bannmann/fix-meta-tag-syntax
Fix examples to use correct HTML <meta> syntax
2 parents e24759f + af119c2 commit 9805b3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ e.g. to add indexing policies for search engines via the `robots` property:
259259
{% extends "base.html" %}
260260
261261
{% block extrahead %}
262-
<meta property="robots" content="noindex, nofollow" />
262+
<meta name="robots" content="noindex, nofollow" />
263263
{% endblock %}
264264
```
265265

@@ -276,9 +276,9 @@ template override, e.g.:
276276
277277
{% block extrahead %}
278278
{% if page and page.meta and page.meta.robots %}
279-
<meta property="robots" content="{{ page.meta.robots }}" />
279+
<meta name="robots" content="{{ page.meta.robots }}" />
280280
{% else %}
281-
<meta property="robots" content="index, follow" />
281+
<meta name="robots" content="index, follow" />
282282
{% endif %}
283283
{% endblock %}
284284
```

0 commit comments

Comments
 (0)