{% extends "base.html" %}
{% load cache wagtailcore_tags core_tags wagtailimages_tags static comments molo_forms_tags   gem_tags %}

{% block content %}
  <div class="banner--main">
    {% bannerpages position=0 %}
  </div>
  {% if not is_via_freebasics %}
    {% with ninyampingaHost='ninyampinga.com' qaHost='ninyampinga-rwanda.qa-hub.ie.gehosting.org' localHost='localhost:8000' %}
      {% if ninyampingaHost in request.get_host  or qaHost in request.get_host or localHost in request.get_host %}
        <div class="freebasics">
          <p class="freebasics__banner">{% blocktrans %}This site is free for all MTN subscribers. If you are an Airtel or TIGO subscriber, you can access this site for free by going to{% endblocktrans %} <a href="http://www.freebasics.com" target="_blank" rel="noreferrer" class="freebasics__anchor">freebasics.com</a>
          </p>
        </div>
      {% endif %}
    {% endwith %}
  {% endif %}
  {% with gembannerpages  as gemTextBanner %}
    {% if gemTextBanner %}
       {{gemTextBanner}}
    {% endif %}
  {% endwith %}
  <div class="featured-wrapper">
    {% latest_listing_homepage num_count=3 %}
    {% hero_article %}
  </div>
  {% bannerpages position=1 %}
  {% forms_list personalisable_form=True %}
  {% forms_list only_linked_forms=True %}
  {% forms_list only_direct_forms=True %}

  {% bannerpages position=2 %}
  {% section_listing_homepage %}
  {% media_listing_homepage %}
  {% bannerpages position=3 %}
  {% forms_list only_yourwords=True %}

{% endblock %}
