{% if settings.USE_LICENSE %}{# could be factored out into separate template #}
{% if settings.LICENSE_USE_URL %}
{% if settings.LICENSE_USE_LOGO %}
{% endif %}
{{settings.APP_COPYRIGHT}} {% trans
license_title=settings.LICENSE_TITLE,
license_url=settings.LICENSE_URL
%}Content on this site is licensed under a
{{license_title}} license.{% endtrans %}
{% else %}
{% if settings.LICENSE_USE_LOGO %}

{% endif %}
{{settings.APP_COPYRIGHT}} {% trans license=settings.LICENSE_TITLE %}Content on this site is licensed under a {{license}}{% endtrans %}
{% endif %}
{% endif %}