{% load staticfiles %}
{#<div class="heading massive wide">{{ main_page.title }}</div>#}
{#<div class="heading medium wide">{{ main_page.content }}</div>#}
<div class="heading">
    <div class="logo"><img src="{% static 'img/OurinternetLogo.png' %}" alt="Ourinternet Logo"></div>
</div>


<div class="logos">
  {% for partner in partners %}
      <div class="grid_6 logo"><a href="#partners"><img src="{% static partner.logo.url %}" alt="{{ partner.name }} Logo"></a></div>
  {% endfor %}
</div>
{% load staticfiles %}
{#<div class="heading massive wide">{{ main_page.title }}</div>#}
{#<div class="heading medium wide">{{ main_page.content }}</div>#}
<div class="heading">
    <div class="logo"><img src="{% static 'img/OurinternetLogo.png' %}" alt="Ourinternet Logo"></div>
</div>


<div class="logos">
  {% for partner in partners %}
      {% if partner.logo %}
      <div class="grid_6 logo"><a href="#partners"><img src="{% static partner.logo.url %}" alt="{{ partner.name }} Logo"></a></div>
      {% endif %}
  {% endfor %}
</div>
Check if logo exists before trying to use it.
Check if logo exists before trying to use it.
