Files
com2care_website/templates/base.html
T
mohamad d4ec85add4 feat: add configurable people maps
Add independent map profiles, offline city lookup, bundled world artwork
and collision-free portrait placement with optional person details.

Deploy with updated requirements, migrations 0029-0031 and collectstatic.
2026-11-03 04:41:47 +08:00

45 lines
1.9 KiB
HTML

{% load static people_maps %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="{% block meta_description %}{{ site_branding.meta_description }}{% endblock %}" />
<meta property="og:site_name" content="{{ site_branding.site_name }}" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://com2care.com{% static 'images/com2care-care-team.jpg' %}" />
<link rel="canonical" href="https://com2care.com{{ request.path }}" />
<title>{% block title %}{{ site_branding.site_name }}{% endblock %} | {{ site_branding.site_name }}</title>
{% if site_branding.website_icon %}
<link rel="icon" href="{{ site_branding.website_icon.url }}" />
<link rel="apple-touch-icon" href="{{ site_branding.website_icon.url }}" />
{% else %}
<link rel="icon" href="{% static 'images/com2care-mark.svg' %}" type="image/svg+xml" />
<link rel="apple-touch-icon" href="{% static 'images/com2care-mark.svg' %}" />
{% endif %}
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="{% static 'css/main.css' %}" />
<style>:root { {{ site_branding.theme_style }} }</style>
<link rel="stylesheet" href="{% static 'css/people-map.css' %}" />
{% block extra_css %}{% endblock %}
</head>
<body>
{% include "partials/_navbar.html" %}
<main id="main-content">
{% people_maps 'top' %}
{% block content %}{% endblock %}
{% people_maps 'bottom' %}
</main>
{% include "partials/_footer.html" %}
<script src="{% static 'js/main.js' %}"></script>
<script src="{% static 'js/people-map.js' %}" defer></script>
{% block extra_js %}{% endblock %}
</body>
</html>