aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs/templates
diff options
context:
space:
mode:
authorfelderado <github@feld.me>2014-10-17 08:07:56 -0500
committerfelderado <github@feld.me>2014-10-17 08:07:56 -0500
commit47f1f43953b7670c9fdacfbcf8b80e6ccb5db95a (patch)
tree474cbda2da061e4613fc928a04505c075d1b4e8f /tuxlite_tbs/templates
parent4f930ce5f6691c452307f1c779168051e7024850 (diff)
downloadpelican-themes-47f1f43953b7670c9fdacfbcf8b80e6ccb5db95a.zip
pelican-themes-47f1f43953b7670c9fdacfbcf8b80e6ccb5db95a.tar.gz
pelican-themes-47f1f43953b7670c9fdacfbcf8b80e6ccb5db95a.tar.bz2
Update twitter.html
Actually put the title of the blog entry in the tweet. Example blog entry titled "New Blog: Pelican" The tweet generated will look like: New Blog: Pelican http://blog.feld.me/posts/2014/06/new-blog-pelican/ via @feldpos This is a much better format for your users to share
Diffstat (limited to 'tuxlite_tbs/templates')
-rw-r--r--tuxlite_tbs/templates/twitter.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tuxlite_tbs/templates/twitter.html b/tuxlite_tbs/templates/twitter.html
index c6b159f..17b49e1 100644
--- a/tuxlite_tbs/templates/twitter.html
+++ b/tuxlite_tbs/templates/twitter.html
@@ -1,3 +1,3 @@
{% if TWITTER_USERNAME %}
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-{% endif %} \ No newline at end of file
+<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="{{article.title}}" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
+{% endif %}