umap/umap/templates/base.html
Yohan Boniface 6db3032bdb fix: do not autoescape static tag
When using django-storage S3, this will escape the final static URL,
containing query string (so & will become &).
2024-12-17 13:07:46 +01:00

45 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% load umap_tags i18n static %}
<!DOCTYPE html>
<html {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>
{% block head_title %}
{{ SITE_NAME }}
{% endblock head_title %}
</title>
<meta charset="utf-8">
<meta name="description"
content="{% trans "uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site." %}">
<meta name="keywords" content="map, umap">
{% block extra_head %}
{% include "umap/header.html" %}
{% endblock extra_head %}
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
{# See https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs #}
{% autoescape off %}
<link rel="icon"
href="{% static 'umap/favicons/favicon.ico' %}"
sizes="32x32">
<link rel="icon"
href="{% static 'umap/favicons/icon.svg' %}"
type="image/svg+xml">
<link rel="apple-touch-icon"
href="{% static 'umap/favicons/apple-touch-icon.png' %}">
<!-- 180×180 -->
<link rel="manifest" href="/manifest.webmanifest">
{% endautoescape %}
</head>
<body class="{% block body_class %}{% endblock body_class %}">
{% block header %}
{% endblock header %}
{% block content %}
{% endblock content %}
{% block bottom_js %}
{% endblock bottom_js %}
{% block footer %}
{% include "umap/footer.html" %}
{% endblock footer %}
</body>
</html>