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