Template source: _article-infinite-nav.html

{% load publication_tags %} <div class="article-card category-{{ article.master_category.slug }}" data-nav-article-pk="{{ article.pk }}"> <a href="{{ article.get_absolute_url }}"> <small class="article-card-cat"> {% if article.get_city_category %} {{ article.get_city_category }} {% elif article.master_category %} {{ article.master_category }} {% endif %} </small> <h4>{{ article.title }}</h4> </a> </div>