Skip to content

Commit 4158288

Browse files
committed
Properly check for version
1 parent 236ca5e commit 4158288

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/templates/core/project_list_featured.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
</span>
1616
<ul>
1717
{% with project.get_stable_version as version %}
18+
{% if version %}
1819
<li><a href="{{ version.get_absolute_url }}">{{ version.slug }}</a></li>
20+
{% endif %}
1921
{% endwith %}
2022
</ul>
2123
</span>

0 commit comments

Comments
 (0)