Template source: search/indexes/publications/article_related_html_card.txt

{{ object.image_thumbnail }}<div class="item-card article "> {% verbatim %} <a href="{% url 'article_single' object.slug %}"> {% endverbatim %} <div class="img-container"> {% verbatim %} {% if object.has_featured_image %} <img src="{{ object.image_thumbnail }}" alt="featured image"> {% else %} <div class="placeholder-img lightgreybg"> <div class="vcenter-parent"> <div class="vcenter"> <img src="{{ object.image_thumbnail }}" alt="My Trending Stories"/> </div> </div> </div> {% endif %} {% endverbatim %} </div> <div class="caption"> <div class="item-card-cat "> <p class="category {% verbatim %}{{ object.master_category_class }}{% endverbatim %}" > {% if object.city_category %} {{ object.city_category }} {% else %} {{ object.master_category }} {% endif %} </p> </div> <h3>{{ object.title }}</h3> </div> </a> </div>