Improved thumbnail in article, according to platform

This commit is contained in:
Jesús
2020-06-11 22:00:40 -05:00
parent e1483ae1e9
commit 7cae35947e
40 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@
</div> <!-- End Mask / Hover -->
{% if article.image %}
<img itemprop="image" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}" alt="{{ article.title }}" class="img-fluid">
<img itemprop="image" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/thumbnail/{{ article.image }}" alt="{{ article.title }}" class="img-fluid">
{% else %}
<img itemprop="image" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/video.png" alt="video" class="img-fluid">
{% endif %}