mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 10:28:04 +00:00
Adding encode helper to share link
This commit is contained in:
parent
054f138135
commit
5c8fc51848
2
post.hbs
2
post.hbs
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<section class="share">
|
<section class="share">
|
||||||
<h4>Share this post</h4>
|
<h4>Share this post</h4>
|
||||||
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"
|
<a class="icon-twitter" href="http://twitter.com/share?text={{encode title}}&url={{url absolute="true"}}"
|
||||||
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
|
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
|
||||||
<span class="hidden">Twitter</span>
|
<span class="hidden">Twitter</span>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user