CloudVibe It is mostly built in to the blogs custom twig template
http://baretest.xtgem.com/templates/Blog
There is a separate script that does the actual 'insertion' and then the rest is in http://baretest.xtgem.com/templates/blog.twig.js
The idea came from Ekonime