- [Layout] -> [Edit HTML]
- Turn on the checkbox "Expand widget templates"
- Into the tag of class='post-header-line-n' or class='post-footer-line-n', put the snipet like below:
<a class='twitter-share-button' data-count='horizontal' data-via='your_twitter_name' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share'>Tweet</a>
<script src='http://platform.twitter.com/widgets.js' type='text/javascript'/>
We need to take care of containing ' in title. If contained, page title is omitted after '. So we should check all page titles and convert from ' to '.
No comments:
Post a Comment