Fragmented Notes

This is where I write about learning to code

Sharing With Diaspora

In the last weeks, I had some reasons to think about privacy issues and social networks. I stopped using Facebook and began using Diaspora* and GNU/Social more than before. So when I found a sharing service earlier today, to share webpages into the Diaspora * Federation, I used it as an excuse to get rid of the Twitter button and the Disqus comments and put in the Code to share to Diaspora * .

If you want to do the same, you will find the part of Octopress, that covers the sharing codes in “source/_includes/post/sharing.html”. Just put in the code from the sharing site and you are good to go:

Diaspora sharing link, without JavaScript
<a href=" title here&url=" target="_blank">
<img src="" style="border: 0px solid;" />

I only changed it a little, of course filling in the template code for the post-title and post-url:

Diaspora sharing link with Octopress Tags (diaspora.html) download
<a href="{{ page.title }}&url={{ site.url }}{{ page.url }}" target="_blank" style="font-size: 0.85;">Share on Diaspora<img src="" style="border: 0px solid;" /></a>