You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it work, first specify the url parameter in _config.yml, as it needs to be hard coded there.
Then, swap {{page.url}} in the social links, since it clearly doesn't work, with:
{{ site.url }}{{ page.url }}
{{page.url}} spits out only the last part of the adress, i.e. example.com/2013/post, which is why it wasn't working properly. After you add the lacking piece of the puzzle, it's done.
I also recommend completely changing the Twitter part to something akin to:
The social sharing on post footer have some URL issues.
If I use {{ post.url}} instead of your {{ page.url}}, it is not working. I want to manually add my home URL with {{ page.url}} in sharing code.
Like
http://myhomepage{{ page.url}}
Now my code look like,
<a class="icon-twitter" href="http://twitter.com/share?text={{page.title}}&url=http://sarathlal.com{{ page.url }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> <span class="hidden">Twitter</span> </a>
Even in Kasper demo, the links for social sharing are broken.
The text was updated successfully, but these errors were encountered: