Skip to content
Browse files

Merge pull request #12 from jk-gan/master

A better share link for twitter
2 parents b122608 + aa3b671 commit 176a7a63c39fbc6f663cca11e2847407eb0ffefd @ageitgey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 _layouts/post.html
View
2 _layouts/post.html
@@ -13,7 +13,7 @@ <h1 class="post-title">{{ page.title }}</h1>
</section>
<footer class="post-footer">
<section class="share">
- <a class="icon" href="http://twitter.com/share?text={{page.title | cgi_escape}}&amp;url={{site.url}}{{page.id}}" target="_blank">
+ <a class="icon" href="https://twitter.com/intent/tweet?url={{ site.url }}{{ page.id }}&text={{page.title | cgi_escape}}&via={{ site.twitter_username }}" target="_blank">
Share on
{% include icon-twitter.html %}
</a>

0 comments on commit 176a7a6

Please sign in to comment.
Something went wrong with that request. Please try again.