Commit f0415320 authored by Murukesh Mohanan's avatar Murukesh Mohanan

facebook comments :(

parent 80fd0471
......@@ -3,6 +3,7 @@ markdown: kramdown
root_url: ""
timezone: Asia/Kolkatta
highlighter: pygments
myurl: http://murukesh.me/
kramdown:
input: GFM
......
......@@ -7,6 +7,7 @@
-->
<meta name="HandheldFriendly" content="true">
<meta charset="utf-8">
<meta property="fb:admins" content="murukesh">
<title>
{{ page.title }} &ndash; Muru's home page.
</title>
......
......@@ -2,6 +2,14 @@
layout: default
pagestyle: posts
---
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<header class="section post-title">
<h1>
......@@ -17,3 +25,9 @@ pagestyle: posts
<section id="post">
{{ content }}
</section>
<div class="fb-comments"
data-href="{{site.myurl}}{{page.url}}"
data-width="100%"
data-numposts="10"
data-colorscheme="dark"></div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment