Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add noindex to previous releases URLs #556

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/qiskit_sphinx_theme/pytorch/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="sidebar-subheadings">
{% for version in version_list | sort(reverse=True) %}
<div class="sidebar-l2">
<a href="{{ previous_versions_url(version) }}" rel="nofollow">{{ version }}</a>
<a href="{{ previous_versions_url(version) }}" rel="nofollow noindex">{{ version }}</a>
</div>
{% endfor %}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<div class="qiskit-previous-releases-list-container">
<ul>
{% for version in version_list | sort(reverse=True) %}
<li><a href="{{ previous_versions_url(version) }}" rel="nofollow">{{ version }}</a></li>
<li><a href="{{ previous_versions_url(version) }}" rel="nofollow noindex">{{ version }}</a></li>
{% endfor %}
</ul>
</div>
Expand Down
Loading