lib/cloudcannon-jekyll/_cloudcannon/config.json in cloudcannon-jekyll-0.2.1 vs lib/cloudcannon-jekyll/_cloudcannon/config.json in cloudcannon-jekyll-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
{
- "time": {{ site.time | cc_jsonify }},
+ "time": {{ site.time | date_to_xmlschema | cc_jsonify }},
"cloudcannon": {
"name": "cloudcannon-jekyll",
"version": {{ gem_version | cc_jsonify }}
},
{% if config.timezone -%}
@@ -10,13 +10,11 @@
"include": {{ config.include | cc_jsonify }},
"exclude": {{ config.exclude | cc_jsonify }},
{% if config.baseurl -%}
"base-url": {{ config.baseurl | cc_jsonify }},
{%- endif %}
- {% if config.collections -%}
- "collections": {{ config.collections | cc_jsonify: 'collections' }},
- {%- endif %}
+ "collections": {{ collections | cc_jsonify: 'collections' }},
{% if config._comments -%}
"comments": {{ config._comments | cc_jsonify }},
{%- endif %}
{% if config._options -%}
"input-options": {{ config._options | cc_jsonify }},
@@ -41,15 +39,16 @@
{%- endif %}
"paths": {
"uploads": {{ config.uploads_dir | cc_jsonify }},
"plugins": {{ config.plugins_dir | cc_jsonify }},
"data": {{ config.data_dir | cc_jsonify }},
+ "pages": "",
"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 }},
+ "array-structures": {{ config._array_structures | cc_jsonify: nil, 20 }},
{%- endif %}
{% assign select_data = config | cc_select_data_jsonify -%}
{% if select_data -%}
"select-data": {{ select_data }},
{%- endif %}