Skip to content

Take another swing at noindex metadata #132

@ConorMacBride

Description

@ConorMacBride

The sunpy main website, sunpy stable and latest docs all block robots. The following doesn't seem to have the intended effect:

{% if not version_slug in to_be_indexed | default([]) %}
<meta name="robots" content="noindex, nofollow" >
{% endif %}

to_be_indexed seems to be defined here

to_be_indexed = ['stable', 'latest']
however I cannot find any reference to version_slug anywhere. Does anyone know if and where version_slug is defined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions