Using facebook comments with Jekyll =================================== .. warning:: The details contained in this post are quite old and may not be correct anymore. I wanted to implement a comments on my blog, but as I don't use a blogging software like wordpress I needed to implement something which used an external comments system. I've used disqus in the past, but don't pa rticularly like the system, so having seen some major blogs use facebook's "Social Plugins" comments system I thought I'd give it go. So here is how I implemented it. 1. Sign-up as a facebook developer: ----------------------------------- Go to http://developer.facebook.com, sign in and create a new app for your website. 2. Include the required javascript: ----------------------------------- Depending on the layout of your site you need to include the facebook javascript sdk, you could conditionally include it (see 3.). Make sure to set **APPID** to the correct number.::
3. Include the comments div in your post template: -------------------------------------------------- Conditionally include the comments div in your post template, by conditionally including it, you can decide on a post by post basis whether you want to have comments.:: {{ "{% if page.comments " }}%}

Comments

{{ "{% endif"}}%} 4. On each entry where you want comments add some YAML Front Matter. -------------------------------------------------------------------- .. code:: yaml comments: yes For more information see: http://developers.facebook.com/docs/reference/plugins/comments/