summaryrefslogtreecommitdiff
path: root/site.json
diff options
context:
space:
mode:
Diffstat (limited to 'site.json')
-rw-r--r--site.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/site.json b/site.json
index 0fa59ac..425ebfe 100644
--- a/site.json
+++ b/site.json
@@ -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 %}
+
]
}