Skip to content

Commit c4b44a5

Browse files
kpshervaegabancho
authored andcommitted
records: noindex for project type of record
* turns off indexing of the record if it is a project * (closes #1648)
1 parent 1b8d95d commit c4b44a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cds/modules/records/templates/cds_records/record_detail.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
pid_value=pid.pid_value,
1717
filename='frame-1.jpg', _external=True) }}" />
1818
{% endif %}
19+
{%- if type == 'project' %}
20+
<meta name="robots" content="noindex" />
21+
{% endif %}
1922
{%- endblock head_meta %}
2023
{%- block javascript %}
2124
{{ super() }}

0 commit comments

Comments
 (0)