diff --git a/src/pages/_includes/ui/map-vector.html b/src/pages/_includes/ui/map-vector.html index db47ec735..2d2aab541 100644 --- a/src/pages/_includes/ui/map-vector.html +++ b/src/pages/_includes/ui/map-vector.html @@ -3,6 +3,11 @@ {% assign color = include.color | default: data.color | default: 'green' %} {% if data %} + {% if jekyll.environment == 'development' %} +
+ {% include ui/svg.html width="590" height="252" ratio=true border=true %} +
+ {% else %}
@@ -10,104 +15,105 @@
{% capture script %} - - {% endcapture %} + // @formatter:off + + {% endcapture %} - {% if include.show-scripts %} - {{ script }} - {% else %} - {% capture_global scripts %} + {% if include.show-scripts %} {{ script }} - {% endcapture_global %} + {% else %} + {% capture_global scripts %} + {{ script }} + {% endcapture_global %} + {% endif %} {% endif %} {% endif %} diff --git a/src/pages/_includes/ui/svg.html b/src/pages/_includes/ui/svg.html index c2799487a..3a05876ce 100644 --- a/src/pages/_includes/ui/svg.html +++ b/src/pages/_includes/ui/svg.html @@ -1,7 +1,7 @@ {% assign width = include.width | default: include.size | default: 20 %} {% assign height = include.height | default: include.size | default: 20 %} - - + + {% if include.border %}{% endif %}