diff options
author | Parker Moore <parkrmoore@gmail.com> | 2013-06-26 04:13:48 -0700 |
---|---|---|
committer | Parker Moore <parkrmoore@gmail.com> | 2013-06-26 04:13:48 -0700 |
commit | 1bcfe84dedca63ffe5e653e3f7479abc6eef23f2 (patch) | |
tree | fa57c3b24c5ce6583b0ac78fcc1ec6785c124bbd | |
parent | bc674751486a2a5d423e6c6a0aa8778da3c73231 (diff) | |
parent | 09789773eb0fc4691c6054d5f2b16d0f3b16776a (diff) | |
download | my_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
-rw-r--r-- | .themes/classic/source/_includes/post/sharing.html | 2 | ||||
-rw-r--r-- | .themes/classic/source/_includes/twitter_sharing.html | 2 |
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> |