<p>
<div style='float:left; margin-right:5px; margin-top:0px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
digg_skin = 'compact';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div></p>
This is the code I use to embed a Digg button on each of my posts. To add it to your blog, you need to load up your template's html and expand the widget code and search for
<b:includable id='post' var='post'>
If you put it just before
<b:if cond='data:post.title'>
the Digg button will float just to the left of your title. The line digg_skin changes the button to a small form factor. If you you want the normal button, leave out this line.
1 comments:
Awesome thanks
Post a Comment