{% extends "templates/one-column.html" %} {% block head_extra %}{% endblock %} {% block title %}Takeover index | Ubuntu{% endblock %} {% block body_class %}is-dark{% endblock body_class %} {% block content %}
{% if takeovers | length > 0 %} {% for takeover in takeovers %} {% with title=takeover['title'], subtitle=takeover['subtitle'], class="p-takeover--" + takeover['class'], header_image=takeover['image'], image_width=takeover['image_width'], image_height=takeover['image_height'], image_hide_small="true", primary_url=takeover['primary_url'], primary_cta=takeover['primary_cta'], primary_cta_class="", secondary_cta=takeover['secondary_cta'], secondary_url=takeover['secondary_url'], lang=takeover['lang'], lang_skip=takeover['lang_skip'], active=takeover['active'] %} {% include "takeovers/_template.html" %} {% endwith %} {% endfor %}
{% with %} {% set total_pages = total_pages %} {% set current_page = current_page %} {% include "shared/_pagination.html" %} {% endwith %}
{% else %}

No takeovers found — why not try widening your search?

{% endif %} {% endblock %}