maps.html 571 B

12345678910111213141516171819202122232425262728
  1. ---
  2. title: Maps
  3. page-header: Maps
  4. menu: base.maps
  5. page-libs: [mapbox]
  6. ---
  7. <div class="row row-cards">
  8. {% for map in maps %}
  9. {% assign map-id = map[0] %}
  10. {% if map[1].card %}
  11. <div class="col-lg-12">
  12. <div class="card">
  13. {% include "ui/map.html" map-id=map-id ratio="21x9" %}
  14. </div>
  15. </div>
  16. {% else %}
  17. <div class="col-lg-6">
  18. <div class="card">
  19. <div class="card-body">
  20. <div class="card-title">{{ map[1].title }}</div>
  21. {% include "ui/map.html" map-id=map-id %}
  22. </div>
  23. </div>
  24. </div>
  25. {% endif %}
  26. {% endfor %}
  27. </div>