og
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 16 Jun 2023 08:47:08 +0000 (10:47 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 16 Jun 2023 08:47:08 +0000 (10:47 +0200)
src/references/static/references/preview.png [new file with mode: 0644]
src/references/templates/references/map.html
src/references/views.py

diff --git a/src/references/static/references/preview.png b/src/references/static/references/preview.png
new file mode 100644 (file)
index 0000000..9c61009
Binary files /dev/null and b/src/references/static/references/preview.png differ
index a65224a..04d3e80 100644 (file)
   <link rel="stylesheet" type="text/css" media="all" href="{% static 'contrib/leaflet-1.9.4/leaflet.css' %}">
   <link rel="stylesheet" type="text/css" media="all" href="{% static 'contrib/leaflet.markercluster-1.4.1/MarkerCluster.css' %}">
   <link rel="stylesheet" type="text/css" media="all" href="{% static 'contrib/leaflet.markercluster-1.4.1/MarkerCluster.Default.css' %}">
+  <meta property="og:title" content="Wakacje z Wolnymi Lekturami">
+  <meta property="og:image" content="{% static 'references/preview.png' %}">
+  <meta property="og:image:alt" content="Mapa miejsc w książkach na Wolnych Lekturach">
+  <meta property="og:image:width" content="1200">
+  <meta property="og:image:height" content="630">
+
 {% endblock %}
 
 
index a098c1a..ae4e5fa 100644 (file)
@@ -8,6 +8,7 @@ from . import models
 
 def pin_map(request):
     return render(request, 'references/map.html', {
+        'title': 'Wakacje',
         'entities': models.Entity.objects.exclude(lat=None).exclude(lon=None),
         'funding_no_show_current': True,
     })