diff options
Diffstat (limited to 'site.json')
-rw-r--r-- | site.json | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -95,5 +95,26 @@ "content": {{ slide.content | strip_html | jsonify }} }{% unless forloop.last %},{% endunless %} {% endfor %} + ], + "podcasts": [ + {% assign filtered_podcasts = "" | split:"" %} + {% for podcast in site.podcasts %} + {% unless podcast.plaintext %} + {% assign filtered_podcasts = filtered_podcasts | push:podcast %} + {% endunless %} + {% endfor %} + {% for podcast in filtered_podcasts %} + { + "title": "{{ podcast.title | smartify }}", + "date": "{{ podcast.date }}", + "url": "{{ podcast.url }}", + "lang": "{{ podcast.lang }}", + "ref": "{{ podcast.ref }}", + "layout": "{{ podcast.layout }}", + "content": {{ podcast.content | strip_html | jsonify }}, + "audio": "{{ podcast.audio }}" + }{% unless forloop.last %},{% endunless %} + {% endfor %} + ] } |