diff options
author | EuAndreh <eu@euandre.org> | 2020-12-24 17:55:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-24 17:56:47 -0300 |
commit | cd2c4f70e802f64de177c129e1c07327c56bf17f (patch) | |
tree | cc9cf55d4642246d6506f1e49cdf1e0e31001713 /site.json | |
parent | Move assert-unique-refs check to lint-hook.rb (diff) | |
download | euandre.org-cd2c4f70e802f64de177c129e1c07327c56bf17f.tar.gz euandre.org-cd2c4f70e802f64de177c129e1c07327c56bf17f.tar.xz |
Move the rest of assert-content.sh to link-hook.rb
Diffstat (limited to '')
-rw-r--r-- | site.json | 141 |
1 files changed, 0 insertions, 141 deletions
diff --git a/site.json b/site.json deleted file mode 100644 index f27c7b7..0000000 --- a/site.json +++ /dev/null @@ -1,141 +0,0 @@ ---- ---- -{ - "pages": [ - {% assign filtered_pages = "" | split:"" %} - {% for page in site.pages %} - {% unless page.plaintext %} - {% assign filtered_pages = filtered_pages | push:page %} - {% endunless %} - {% endfor %} - {% for page in filtered_pages %} - { - "title": "{{ page.title | smartify }}", - "url": "{{ page.url }}", - "lang": "{{ page.lang }}", - "ref": "{{ page.ref }}", - "plaintext": "{{ page.plaintext }}", - "layout": "{{ page.layout }}", - "content": {{ page.content | strip_html | jsonify }} - }{% unless forloop.last %},{% endunless %} - {% endfor %} - ], - "articles": [ - {% assign filtered_articles = "" | split:"" %} - {% for post in site.articles %} - {% unless post.plaintext %} - {% assign filtered_articles = filtered_articles | push:post %} - {% endunless %} - {% endfor %} - {% for post in filtered_articles %} - { - "title": "{{ post.title | smartify }}", - "date": "{{ post.date }}", - "url": "{{ post.url }}", - "lang": "{{ post.lang }}", - "ref": "{{ post.ref }}", - "layout": "{{ post.layout }}", - "content": {{ post.content | strip_html | jsonify }} - }{% unless forloop.last %},{% endunless %} - {% endfor %} - ], - "pastebins": [ - {% assign filtered_pastebins = "" | split:"" %} - {% for pastebin in site.pastebins %} - {% unless pastebin.plaintext %} - {% assign filtered_pastebins = filtered_pastebins | push:pastebin %} - {% endunless %} - {% endfor %} - {% for pastebin in filtered_pastebins %} - { - "title": "{{ pastebin.title | smartify }}", - "date": "{{ pastebin.date }}", - "url": "{{ pastebin.url }}", - "lang": "{{ pastebin.lang }}", - "ref": "{{ pastebin.ref }}", - "layout": "{{ pastebin.layout }}", - "content": {{ pastebin.content | strip_html | jsonify }} - }{% unless forloop.last %},{% endunless %} - {% endfor %} - ], - "tils": [ - {% assign filtered_tils = "" | split:"" %} - {% for til in site.tils %} - {% unless til.plaintext %} - {% assign filtered_tils = filtered_tils | push:til %} - {% endunless %} - {% endfor %} - {% for til in filtered_tils %} - { - "title": "{{ til.title | smartify }}", - "date": "{{ til.date }}", - "url": "{{ til.url }}", - "lang": "{{ til.lang }}", - "ref": "{{ til.ref }}", - "layout": "{{ til.layout }}", - "content": {{ til.content | strip_html | jsonify }} - }{% unless forloop.last %},{% endunless %} - {% endfor %} - ], - "slides": [ - {% assign filtered_slides = "" | split:"" %} - {% for slide in site.slides %} - {% unless slide.plaintext %} - {% assign filtered_slides = filtered_slides | push:slide %} - {% endunless %} - {% endfor %} - {% for slide in filtered_slides %} - { - "title": "{{ slide.title | smartify }}", - "date": "{{ slide.date }}", - "url": "{{ slide.url }}", - "lang": "{{ slide.lang }}", - "ref": "{{ slide.ref }}", - "layout": "{{ slide.layout }}", - "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 }}", - "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 %} - ] -} |