lib/cloudcannon-jekyll/_cloudcannon/info.json in cloudcannon-jekyll-2.0.1 vs lib/cloudcannon-jekyll/_cloudcannon/info.json in cloudcannon-jekyll-2.0.2

- old
+ new

@@ -15,11 +15,11 @@ } }, {% if config.timezone -%} "timezone": {{ config.timezone | cc_jsonify }}, {%- endif %} - "collections-config": {{ collections_config | cc_jsonify: 'collections' }}, + "collections-config": {{ collections_config | cc_jsonify }}, "collections": { "drafts": {{ drafts | cc_jsonify }}{% if site.collections.size > 0 %},{% endif %} {%- for collection in site.collections -%} "{{ collection.label | xml_escape }}": {{ collection.docs | cc_jsonify }} {%- unless forloop.last %},{% endunless %} @@ -46,10 +46,13 @@ "base-url": {{ config.baseurl | cc_jsonify }}, {%- endif %} {% if config._comments -%} "_comments": {{ config._comments | cc_jsonify }}, {%- endif %} + {% if config._enabled_editors -%} + "_enabled_editors": {{ config._enabled_editors | cc_jsonify }}, + {%- endif %} {% if config._options -%} "_options": {{ config._options | cc_jsonify }}, {%- endif %} {% if config._collection_groups -%} "_collection_groups": {{ config._collection_groups | cc_jsonify }}, @@ -73,10 +76,10 @@ "collections": {{ config.collections_dir | cc_jsonify }}, "includes": {{ config.includes_dir | cc_jsonify }}, "layouts": {{ config.layouts_dir | cc_jsonify }} }, {% if config._array_structures -%} - "_array_structures": {{ config._array_structures | cc_jsonify: nil, 50 }}, + "_array_structures": {{ config._array_structures | cc_jsonify: 50 }}, {%- endif %} {% assign select_data = config | cc_select_data_jsonify -%} {% if select_data -%} "_select_data": {{ select_data }}, {%- endif %}