JSONify your Jekyll Site
Recently, I wanted to be able to dynamically load posts on my jekyll site. One way to achieve this is to generate the entirety of your site in json.
I created a file called
site.json and added these contents:
If you omit the
escape by “content”, double quotes in your content might break your json.
Happy Ajaxing!Edit this Post