Use webp for thumbnails
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block headextra %}
|
||||
{% if package.get_thumb_url(3, True) -%}
|
||||
<meta name="og:image" content="{{ package.get_thumb_url(3, True) }}"/>
|
||||
{% if package.get_thumb_url(3, True, "png") -%}
|
||||
<meta name="og:image" content="{{ package.get_thumb_url(3, True, "png") }}"/>
|
||||
{%- endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user