Skip to content

Commit

Permalink
QOLDEV-610 SEO Inject noindex when not in 'is_prod' mode
Browse files Browse the repository at this point in the history
  • Loading branch information
duttonw committed Sep 18, 2023
1 parent 1456658 commit e60b493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckanext/data_qld/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="DCTERMS.publisher" scheme="AGLSTERMS.AglsAgent" content="corporateName=The State of Queensland; jurisdiction=Queensland" />
<meta name="DCTERMS.jurisdiction" scheme="AGLSTERMS.AglsJuri" content="Queensland" />
<meta name="DCTERMS.type" scheme="DCTERMS.DCMIType" content="Text" />
{% if not h.is_prod() %}
<meta name="robots" content="noindex" />
{% endif %}
{% endblock %}

{% block custom_styles %}
Expand Down

0 comments on commit e60b493

Please sign in to comment.