Add twitter and reddit buttons:
This commit is contained in:
parent
8dad14e529
commit
1c8760c66e
6
_includes/reddit-this.html
Normal file
6
_includes/reddit-this.html
Normal file
@ -0,0 +1,6 @@
|
||||
<script type="text/javascript" src="http://www.reddit.com/static/button/button1.js">
|
||||
reddit_title = "{{ post.title }}";
|
||||
reddit_url = "{{ site.url }}{{ post.url }}";
|
||||
reddit_newwindow = '1';
|
||||
reddit_bordercolor = "#FFFFFF";
|
||||
</script>
|
4
_includes/twitter.html
Normal file
4
_includes/twitter.html
Normal file
@ -0,0 +1,4 @@
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="http://platform.twitter.com/widgets.js"></script>
|
||||
|
@ -14,6 +14,7 @@ layout: default
|
||||
|
||||
{% include reddit-this.html %}
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<div id="related">
|
||||
|
Loading…
Reference in New Issue
Block a user