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