Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- layout: null
- ---
- {%- capture keuken -%}
- {%- for keuken in site.auteurs -%}
- {{ keuken.keuken }}
- {% endfor %}
- {%- endcapture -%}
- {%- assign keukens = keuken | split:' ' | uniq | sort -%}
- [ {%- for k in keukens -%}
- {
- "keuken" : "{{ k }}",
- "auteur" : [
- {%- for keuken in site.auteurs -%}
- {% if k == keuken.keuken %}
- {
- "name" : "{{ keuken.title }}",
- "year" : "{{ keuken.year }}",
- "until" : "{{ keuken.until }}",
- "bron" : "{{ keuken.bron }}",
- "bron_url" : "{{ keuken.bron_url }}",
- "weight" : "{{ keuken.weight }}",
- "selection": "{{ keuken.selection }}",
- "boeken" : [
- {%- for boek in site.kookboeken -%}
- {% if keuken.title == boek.auteur %}
- {
- "title" : "{{ boek.title }}",
- "uitgever" : "{{ boek.uitgever }}",
- "jaar" : "{{ boek.jaar }}",
- "nl-title" : "{{ boek.nl-title }}",
- "nl-uitgever": "{{ boek.nl-uitgever }}",
- "nl-jaar" : "{{ boek.nl-jaar }}",
- "bron" : "{{ boek.bron }}",
- "bron_url" : "{{ boek.bron_url }}",
- "pag" : "{{ boek.pag }}",
- "exerpt" : "{{ boek.exerpt }}",
- "selection" : "{{ boek.selection }}",
- "recepten" : [
- {%- for recept in site.recepten -%}
- {% if boek.title == recept.boek %}
- {
- "title": "{{ recept.title }}",
- "index": "{{ recept.index }}",
- "kategorie": "{{ recept.kategorie }}",
- "product": "{{ recept.product }}",
- "gerecht": "{{ recept.gerecht }}",
- "menu": "{{ recept.menu }}",
- "tags": "{{ recept.tags }}",
- "sub": "{{ recept.sub }}",
- "recipe": "{{ recept.recipe }}",
- "prep": "{{ recept.prep }}",
- "ingredients_inkoop":
- [
- {%- for ink in recept.ingredients_inkoop -%}
- "{{ ink }}"{% unless forloop.last %},{% endunless %}{% endfor %}
- ],
- "ingredients_voorraad":
- [
- {%- for voor in recept.ingredients_voorraad -%}
- "{{ voor }}"{% unless forloop.last %},{% endunless %}{% endfor %}
- ],
- "ingredients_basis":
- [
- {%- for bas in recept.ingredients_basis -%}
- "{{ bas }}"{% unless forloop.last %},{% endunless %}{% endfor %}
- ],
- "directions_markdown":
- [
- {%- for dir in recept.directions_markdown -%}
- "{{ dir }}"{% unless forloop.last %},{% endunless %}{% endfor %}
- ]
- }{% unless forloop.last %},
- {% endunless %}
- {% endif %}
- {%- endfor -%}
- ]
- }{% unless forloop.last %},
- {% endunless %}
- {% endif %}
- {%- endfor -%}
- ]
- }{% unless forloop.last %},{% endunless %}
- {% endif %}
- {%- endfor -%}
- ]
- }{% unless forloop.last %},
- {% endunless %}
- {%- endfor -%}
- ]
Add Comment
Please, Sign In to add comment