Skip to content

Commit

Permalink
plug in FB comment to Index
Browse files Browse the repository at this point in the history
  • Loading branch information
shpwang committed Jul 15, 2015
1 parent 799a8d4 commit 745af63
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions news.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,22 @@ <h2><strong>最新消息</strong></h2>
</blockquote>
</div>
</div>

<!-- Facebook comment script -->
<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_us/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

<!--show fb comment -->
<div class="jumbotron">
<div class="fb-comments-box container">
<div class="fb-comments" data-href="http://yuecen.github.io/krtc/" data-width="100%" data-numposts="5"></div>
</div>
</div>

0 comments on commit 745af63

Please sign in to comment.