aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-06-26 04:13:48 -0700
committerParker Moore <parkrmoore@gmail.com>2013-06-26 04:13:48 -0700
commit1bcfe84dedca63ffe5e653e3f7479abc6eef23f2 (patch)
treefa57c3b24c5ce6583b0ac78fcc1ec6785c124bbd /.themes/classic/source
parentbc674751486a2a5d423e6c6a0aa8778da3c73231 (diff)
parent09789773eb0fc4691c6054d5f2b16d0f3b16776a (diff)
downloadmy_new_personal_website-1bcfe84dedca63ffe5e653e3f7479abc6eef23f2.tar.xz
my_new_personal_website-1bcfe84dedca63ffe5e653e3f7479abc6eef23f2.zip
Merge pull request #1286 from SamWhited/master
Use protocol relative URL's for Twitter
Diffstat (limited to '.themes/classic/source')
-rw-r--r--.themes/classic/source/_includes/post/sharing.html2
-rw-r--r--.themes/classic/source/_includes/twitter_sharing.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/source/_includes/post/sharing.html b/.themes/classic/source/_includes/post/sharing.html
index e32500d0..d639faa1 100644
--- a/.themes/classic/source/_includes/post/sharing.html
+++ b/.themes/classic/source/_includes/post/sharing.html
@@ -1,6 +1,6 @@
<div class="sharing">
{% if site.twitter_tweet_button %}
- <a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
+ <a href="//twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
{% endif %}
{% if site.google_plus_one %}
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div>
diff --git a/.themes/classic/source/_includes/twitter_sharing.html b/.themes/classic/source/_includes/twitter_sharing.html
index 687e77de..7cd5fbc2 100644
--- a/.themes/classic/source/_includes/twitter_sharing.html
+++ b/.themes/classic/source/_includes/twitter_sharing.html
@@ -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>