aboutsummaryrefslogtreecommitdiff
path: root/site.json
diff options
context:
space:
mode:
Diffstat (limited to 'site.json')
-rw-r--r--site.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/site.json b/site.json
index 30a7260..411a02b 100644
--- a/site.json
+++ b/site.json
@@ -23,5 +23,17 @@
"content": {{ page.content | strip_html | jsonify }}
}{% unless forloop.last %},{% endunless %}
{% endfor %}
+ ],
+ "pastebins": [
+ {% for pastebin in site.pastebins %}
+ {
+ "title": "{{ pastebin.title | smartify }}",
+ "date": "{{ post.date }}",
+ "url": "{{ pastebin.url }}",
+ "lang": "{{ pastebin.lang }}",
+ "ref": "placeholder-ref",
+ "content": {{ pastebin.content | strip_html | jsonify }}
+ }{% unless forloop.last %},{% endunless %}
+ {% endfor %}
]
}