Skip to content

Commit

Permalink
Merge pull request #694 from SamWhited/2.1
Browse files Browse the repository at this point in the history
Fix Twitter integration over SSL
  • Loading branch information
imathis committed Jul 30, 2012
2 parents cf0fd14 + d4f7f10 commit 777736a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ <h1>Latest Tweets</h1>
<li class="loading">Status updating...</li>
</ul>
{% if site.twitter_follow_button %}
<a href="http://twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
<a href="//twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
{% else %}
<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
<p>Follow <a href="//twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
{% endif %}
</section>
{% endif %}
2 changes: 1 addition & 1 deletion .themes/classic/source/_includes/twitter_sharing.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
twitterWidgets.src = '//platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
Expand Down

0 comments on commit 777736a

Please sign in to comment.