aboutsummaryrefslogtreecommitdiff
path: root/site.json
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-06 03:58:52 -0300
committerEuAndreh <eu@euandre.org>2020-02-06 03:58:52 -0300
commitccadc0bdf0436cefe76318567d358f27a46bf3e5 (patch)
tree58d52309b1ea2b6b7c3a08feed04deb5d64b83d2 /site.json
parentAdd code metadata annotation (diff)
parentSetup publish environment variables (diff)
downloadeuandre.org-ccadc0bdf0436cefe76318567d358f27a46bf3e5.tar.gz
euandre.org-ccadc0bdf0436cefe76318567d358f27a46bf3e5.tar.xz
Merge branch 'jekyll'
Diffstat (limited to '')
-rw-r--r--site.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/site.json b/site.json
new file mode 100644
index 0000000..411a02b
--- /dev/null
+++ b/site.json
@@ -0,0 +1,39 @@
+---
+---
+{
+ "posts": [
+ {% for post in site.posts %}
+ {
+ "title": "{{ post.title | smartify }}",
+ "date": "{{ post.date }}",
+ "url": "{{ post.url }}",
+ "lang": "{{ post.lang }}",
+ "ref": "{{ post.ref }}",
+ "content": {{ post.content | strip_html | jsonify }}
+ }{% unless forloop.last %},{% endunless %}
+ {% endfor %}
+ ],
+ "pages": [
+ {% for page in site.pages %}
+ {
+ "title": "{{ page.title | smartify }}",
+ "url": "{{ page.url }}",
+ "lang": "{{ page.lang }}",
+ "ref": "{{ page.ref }}",
+ "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 %}
+ ]
+}