Skip to content

Commit 7fd60f4

Browse files
committed
Handle case with no stable
1 parent 4158288 commit 7fd60f4

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
@@ -17,6 +17,8 @@
1717
{% with project.get_stable_version as version %}
1818
{% if version %}
1919
<li><a href="{{ version.get_absolute_url }}">{{ version.slug }}</a></li>
20+
{% else %}
21+
<li>No stable version</li>
2022
{% endif %}
2123
{% endwith %}
2224
</ul>

0 commit comments

Comments
 (0)