{% extends "master.html" %} {% load i18n static %} {% comment %} Base template for the landing page of an API project. It assumes that the default-project `master.html` root template exists in the project. Example usage: {% extends "maykin_common/api/index_base.html" %} {% block page_title %}My awesome API{% endblock %} {% block content_en %}

This API is awesome because ...

{% endblock %} See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/tab_role for the accessible markup. {% endcomment %} {% block view_class %}{{ block.super }} landing-page{% endblock %} {% block extra_css %} {{ block.super }} {% endblock %} {% block content %}

{% block page_title %}Override block page_title{% endblock page_title %}

{% block page_subtitle %}Override block page_subtitle{% endblock page_subtitle %}

Licensed under the {% block license_label %}European Union Public License (EUPL) 1.2{% endblock %}

{% block api_links %} {# Provide a default block, but if those URLs can't be reversed, it won't crash the template #} {% url 'api:api-docs' as api_docs_link %} {% url 'api:api-schema-json' as api_schema_link %} {% trans "API docs (ReDoc)" %} {% trans "Open API specification" %} {% endblock api_links %}
{% block admin_button_group %} {% endblock admin_button_group %}
{% endblock content %} {% block scripts %} {% endblock %}