Template source: viral.html

{% extends 'base.html' %} {% load staticfiles i18n %} {% block title %}{% trans "Viral" %} | {{ block.super }}{% endblock %} {% block content %} <main id="Viral"> <section class="cat-box line-bottom"> <section class="container-fluid"> <div class="title-row"> <h1 class="cat-red"><i class="fa fa-line-chart"></i> {% trans "Viral" %}</h1> </div> </section> <div class="container-fluid"> <div class="cat-box-title"> <h2 class="no-padding cat-red no-margin"> {% trans "Most Viewed Articles of the Week" %} </h2> </div> <div class="cat-box-gallery"> <div class="row article-row"> {% for article in viral_articles %} {% if article.large %} <div class="col col-sm-40"> {% if not all_cat %} {% include '_article_card_square.html' with force_category=category %} {% elif article.get_city_category %} {% include '_article_card_square.html' with city_category=article.get_city_category %} {% else %} {% include '_article_card_square.html' %} {% endif %} </div> {% else %} <div class="col col-sm-15"> {% if not all_cat %} {% include '_article_card.html' with force_category=category %} {% elif article.get_city_category %} {% include '_article_card.html' with city_category=article.get_city_category %} {% else %} {% include '_article_card.html' %} {% endif %} </div> {% endif %} {% endfor %} </div> </div> </div> </section> </main> {% endblock %}