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.
This commit is contained in:
+5
-1
@@ -1,4 +1,4 @@
|
||||
{% load static %}
|
||||
{% load static people_maps %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -22,6 +22,7 @@
|
||||
<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>
|
||||
@@ -29,12 +30,15 @@
|
||||
{% 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>
|
||||
|
||||
Reference in New Issue
Block a user