You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
544 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. ---
  2. ---
  3. [
  4. {% for post in site.recipes %}
  5. {
  6. "title" : "{{ post.title | escape }}",
  7. {% if post.ingredients %}"ingredients" : "{% for ingredient in post.ingredients %}{{ ingredient | escape }}, {% endfor %}",{% endif %}
  8. {% if post.tags %}"tags" : "{% for tag in post.tags %}{{ tag | escape }} {% endfor %}",{% endif %}
  9. "image" : "{{ site.baseurl }}/images/{{ post.image }}",
  10. "url" : "{{ site.baseurl }}{{ post.url }}"
  11. } {% unless forloop.last %},{% endunless %}
  12. {% endfor %}
  13. ]