1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/themes/notmyidea/templates/twitter.html
Jerome cdd1719334 - Added configurable twitter button
Just add a TWITTER_USERNAME='foo' in your settings file
2010-11-17 08:24:20 +01:00

3 lines
No EOL
252 B
HTML

{% 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 %}