Permalink
Browse files
Merge pull request #12 from jk-gan/master
A better share link for twitter
Showing
with
1 addition
and
1 deletion.
-
+1
−1
_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}}&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