Skip to content

Commit

Permalink
[Core] Remove empty meta robots
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Feb 2, 2022
1 parent 434aad4 commit 58930f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/admin/src/templates/markdown_cheatsheet.html.twig
Expand Up @@ -5,7 +5,7 @@

{% block robots %}
{% if page.metaRobots is defined and page.metaRobots is not null %}
<meta name="robots" content="no-index}">
<meta name="robots" content="no-index">
{% endif %}
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/templates/page/page_default.html.twig
Expand Up @@ -18,7 +18,7 @@
<meta name="description" content="{{ page.searchExcrept|escape }}">
{% endif %}

{% if page.metaRobots is defined and page.metaRobots is not null %}
{% if page.metaRobots %}
<meta name="robots" content="{{ page.metaRobots }}">
{% endif %}

Expand Down

0 comments on commit 58930f1

Please sign in to comment.