{% load wagtailcore_tags wagtailimages_tags coderedcms_tags %} {% autoescape off %} new ol.layer.Vector({ source: new ol.source.Vector({ features: new ol.format.GeoJSON().readFeatures({{ value.geoJson }}) }), properties: { {% if value.actions %} domFeatureLinks: {{ value.actions }}, {% endif %} {% if value.sld %} sld: `{{ value.sld }}`, {% endif %} {% endautoescape %}