{% extends 'base.html' %}
{% block title %}Welcome{% endblock %}
{% block head %}
    {{ super() }}
    <link href="{{ url_for('static', filename='css/main.css') }}" rel="stylesheet">
{% endblock %}
{% block content %}
<div class="container">
  {% for class_level, image_details in sponsorship_images.items() %}
    <div class="row">
      <h1 class="text-center">{{image_details['sponsorship_level'].title()}}</h1>
    </div>
    <div class="row">
    {% for image in image_details['images'] %}
      <div class="card">
        <img class='center-block' src="{{image}}" alt="{{image}}">
      </div>
    {% endfor %}
    </div>
  {% endfor %}
</div>
{% endblock %}
{% extends 'base.html' %}
{% block title %}Welcome{% endblock %}
{% block head %}
    {{ super() }}
    <link href="{{ url_for('static', filename='css/main.css') }}" rel="stylesheet">
{% endblock %}
{% block content %}
<div class="container">
  {% if sponsorship_images %}
    {% for class_level, image_details in sponsorship_images.items() %}
      <div class="row">
        <h1 class="text-center">{{image_details['sponsorship_level'].title()}}</h1>
      </div>
      <div class="row">
      {% for image in image_details['images'] %}
        <div class="card">
          <img class='center-block' src="{{image}}" alt="{{image}}">
        </div>
      {% endfor %}
      </div>
    {% endfor %}
  {% else %}
    No sponsorship images defined in the environment.conf file
  {% endif %}
</div>
{% endblock %}
Add if statement for sponsorship images
Add if statement for sponsorship images

Signed-off-by: Brandon Myers <9cda508be11a1ae7ceef912b85c196946f0ec5f3@mozilla.com>
