feat: Use heading + description

This commit is contained in:
moanos [he/him] 2024-09-27 15:36:40 +02:00
parent cd64495851
commit 4d22702e2d
2 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,9 @@
{% for an in adoption_notices %} {% for an in adoption_notices %}
// create the popup // create the popup
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setText( const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setHTML(`
'{{ an.name }}' <h1>{{ an.name }}</h1><p>{{ an.description }}</p>
`
); );
// create DOM element for the marker // create DOM element for the marker