Sha256: 7af1b2b11bd4dbb7a9487693978e63452cc12a6c98acdb1db7f615b502dc15a3

Contents?: true

Size: 709 Bytes

Versions: 17

Compression:

Stored size: 709 Bytes

Contents

---
---

{% comment %}
Genera un site.json con las traducciones del sitio y los datos de los
pasos del carrito.  No los extraemos directamente con el filtro
`jsonify` porque extraen demasiada informaciĆ³n y el JSON se rompe.

TODO: El contenido de los pasos del carrito no aparece.
{% endcomment %}

{%- assign steps = 'cart,shipment,payment,confirmation' | split: ',' -%}

{
  {%- for step in steps %}
  "{{ step }}": {
    {%- for attribute in site.data.layouts[step] -%}
    {%- assign attribute_key = attribute[0] -%}
    "{{ attribute_key }}": {{ site[step][attribute_key] | jsonify }}{% unless forloop.last %},{% endunless %}
    {%- endfor -%}
  },
  {% endfor %}
  "i18n": {{ site.i18n | jsonify }}
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
editorial-autogestiva-jekyll-theme-0.5.0rc7 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc6 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc5 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc4 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc3 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc2 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc1 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.5.0rc0 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.4.2 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.4.1 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.4.0 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.5 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.4 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.3 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.2 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.1 assets/data/site.json
editorial-autogestiva-jekyll-theme-0.3.0 assets/data/site.json