{% extends "base.html" %}

{% block body_container %}
  <div class="jumbotron">
    <div class="container text-center">
      <h1 class="display-4">Computer Science for teachers</h1>
      <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
      <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p>
    </div>
  </div>

  <div class="container">
    <div class="row">
      <div class="col-md-6">
        <h2>Upcoming events</h2>
        <ul>
          {% for event in upcoming_events %}
            <li>
              <a href="{% url 'events:event' event.slug %}">
                {{ event.name }}
              </a>
              ({{ event.start_datetime|date:"j M" }} to {{ event.end_datetime|date:" j M" }})
            </li>
          {% endfor %}
        </ul>
      </div>
      <div class="col-md-6">
        <h2>Heading</h2>
        <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
        <p><a class="btn btn-secondary" href="#" role="button">View details &raquo;</a></p>
      </div>
    </div>
  </div>
{% endblock body_container %}

{% extends "base.html" %}

{% block body_container %}
  <div class="jumbotron">
    <div class="container text-center">
      <h1 class="display-4">Computer Science for teachers</h1>
      <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
      <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p>
    </div>
  </div>

  <div class="container">
    <div class="row">
      <div class="col-md-12 text-center">
        <h2>Upcoming events</h2>
        <ul>
          {% for event in upcoming_events %}
            <li class="list-unstyled">
              <a href="{% url 'events:event' event.slug %}">
                {{ event.name }}
              </a>
              ({{ event.start_datetime|date:"j M" }} to {{ event.end_datetime|date:" j M" }})
            </li>
          {% endfor %}
        </ul>
      </div>
    </div>
  </div>
{% endblock body_container %}

Remove unused text on homepage
Remove unused text on homepage
