{% extends "base.html" %}
{% load i18n pages_tags mezzanine_tags organization_tags %}

{% block meta_title %}
    {% trans "Home" %}
{% endblock %}

{% block breaking_news %}
    {% with home.dynamiccontenthomebody_set.all|get_first_brief as brief %}
        {{ brief.title }}
    {% endwith %}
    {% for content in home.dynamiccontenthomebody_set.all %}
        {% if content.content_type.model == "brief" %}
            <div class="breaking-news" id="jsBreakingNews">
                <div class="breaking-news__title">
                    {% trans "Breaking News" %}
                </div>
                <div class="breaking-news__content marquee" >
                    {{ content.content_object.title }}
                </div>
            </div>
        {% endif %}
    {% endfor %}
{% endblock %}

{% spaceless %}
    {% block body_class %}
        home
    {% endblock %}
{% endspaceless %}

{% block hero %}
    {% include "home/inc/hero.html" %}
{% endblock %}

{% block main %}

    {% include "includes/calendar.html" %}

    {% include "home/inc/slider.html" %}

    {% include "home/inc/body.html" %}

    <div class="mt4">
        {% include "home/inc/bio.html" %}
    </div>

{% endblock %}

{% extends "base.html" %}
{% load i18n pages_tags mezzanine_tags organization_tags %}

{% block meta_title %}
    {% trans "Home" %}
{% endblock %}

{% block breaking_news %}
    {% with home.dynamiccontenthomebody_set.all|get_first_brief as brief %}
        {% if brief.title %}
            <div class="breaking-news" id="jsBreakingNews">
                <div class="breaking-news__title">
                    {% trans "Breaking News" %}
                </div>
                <div class="breaking-news__content marquee" >
                    {{ brief.title }}
                </div>
            </div>
        {% endif %}
    {% endwith %}
{% endblock %}

{% spaceless %}
    {% block body_class %}
        home
    {% endblock %}
{% endspaceless %}

{% block hero %}
    {% include "home/inc/hero.html" %}
{% endblock %}

{% block main %}

    {% include "includes/calendar.html" %}

    {% include "home/inc/slider.html" %}

    {% include "home/inc/body.html" %}

    <div class="mt4">
        {% include "home/inc/bio.html" %}
    </div>

{% endblock %}

Fix breaking news on mobile
Fix breaking news on mobile
