Template source: _article_like_large.html

{% load i18n staticfiles publication_tags %} <div class="item-card item-card-{% if force_category %}{{ force_category.slug }}{% else %}{{ article_like.article.master_category.slug }}{% endif %} item-card-alt"> <a href="{{ article_like.article.get_absolute_url }}"> <div class="item-card-image pull-left"> {% if article_like.article.featured_image %} <img src="{{ article_like.article.featured_image.get_article_square_url }}" alt="featured image"> {% else %} <div class="placeholder-img lightgreybg"> <div class="vcenter-parent"> <div class="vcenter"> <img src="{% static 'dist/images/logo.png' %}" alt="My Trending Stories"/> </div> </div> </div> {% endif %} </div> <div class="item-card-content"> <div class="item-card-category {{ article_like.article.master_category.color_class }}"> <h3>{{ article_like.article.master_category }}</h3> <div class="pull-right"> <span class="item-card-author">{{ article_like.article.author.full_name }}</span> {% if article_like.article.author.avatar %} <img class="avatar" src="{{ article_like.article.author.avatar.get_author_small_url }}" alt="{{ article_like.article.author }}"/> {% else %} <img class="avatar" src="{% static 'dist/images/avatar-default.jpg' %}" alt="{{ article_like.article.author.full_name }}"/> {% endif %} </div> </div> <div class="item-card-title"> <h4>{{ article_like.article.title }}</h4> </div> <div class="item-card-texte"> <p>{{ article_like.article.short_description }} </p> </div> </div> <div class="clearfix"></div> </a> </div> {#<div>#} {# <h3>#} {# <a href="{% url 'article_single' article_like.article__slug %}">#} {# {{ article_like.article__title }} - {{ article_like.nb_likes }} Likes#} {# </a>#} {# </h3>#} {#</div>#}