assets/data/galleries.json in j1-template-2022.3.0.rc1 vs assets/data/galleries.json in j1-template-2022.3.0

- old
+ new

@@ -56,22 +56,16 @@ {% comment %} Set config options -------------------------------------------------------------------------------- {% endcomment %} {% assign jg_config = jg_config_defaults | merge: jg_config_settings %} -{% comment %} Detect prod mode --------------------------------------------------------------------------------- {% endcomment %} {% assign production = false %} {% if environment == 'prod' or environment == 'production' %} {% assign production = true %} {% endif %} -{% comment %} Main -================================================================================ {% endcomment %} - { - {% for item in jg_config.galleries %} "{{ item.gallery.id }}" : [ {% if item.gallery.type == "image" %} {% for image in item.gallery.images %} @@ -142,10 +136,9 @@ {% endfor %} {% endif %} ]{% if forloop.last %}{% else %},{% endif %} {% endfor %} - } {% endcapture %} {% if production %} {{ cache | minifyJSON }}