The problem with jekyll, everybody will tell you, it’s the comments.
The biggest advantage of the blogging framework is that it has no need for a Data base, but in the case it becomes it’s weakness.
No Data Base = No Dynamic Data = No Comments
But discuss, facebook and some others provide a commenting sytem that you can integrate to your blog.
Beeing a facebook user, for my blog i choosed the facebook comments integration, and this is how i made it work.
The integration is realy simple :
create an App
copy and paste the generated code like in the example bleow
the SDK inclusion script
the .fb-comments DIV between an “if statement” so it becomes simple to disable the comments when needed (globally or in a choosen page)
Add a line in your _config.yml:
And Now your are ready to get comments on your articles
We can also use Google plus comments but this is not a feature released from Google as a service to use it’s just some code lines stolen from blogger service that embed a comments widget that you can use in your page.
Google can at any time change it’s code since it’s not an official release.
Here’s the code that you need:
the width being hard coded i hate those widgets that are not responsive.
Now we are going to add some sharing buttons (facebook, google+, Twitter)
Here are the URLs to get the code to include:
https://about.twitter.com/fr/resources/buttons for twitter button
https://developers.facebook.com/docs/plugins/like-button for facebook like/share button
https://developers.google.com/+/web/share/ for the google plus button
And dont forget to add this to your _config.yml :
And that’s it … Now share and Comment