Skip to content

Commit 3cde298

Browse files
committed
Use downloads.html in template
In readthedocs#5502 we refactored the function but we used to depend on `pretty` to change the name of the key from `html` to `htmlzip`, we use `html` in the footer and in the theme. So, it's safe to change the value in the template. See https://github.com/rtfd/readthedocs.org/pull/5502/files#r272787188
1 parent 4fea14e commit 3cde298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/templates/core/project_downloads.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</li>
1010
{% endif %}
1111

12-
{% if dict.htmlzip %}
12+
{% if dict.html %}
1313
<li class="module-item col-span">
14-
<a class="module-item-title" href="{{ dict.htmlzip }}">
14+
<a class="module-item-title" href="{{ dict.html }}">
1515
{{ version.slug }} HTMLZip
1616
</a>
1717
</li>

0 commit comments

Comments
 (0)