From 259ad8504b6c94d17ecaa039918ed561d3426eaa Mon Sep 17 00:00:00 2001 From: Holger Just Date: Fri, 15 Jan 2016 17:58:20 +0100 Subject: [PATCH] Add rel="nofollow" attributes to social sharing links --- source/layouts/post.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/layouts/post.haml b/source/layouts/post.haml index 9f45793..22d7347 100644 --- a/source/layouts/post.haml +++ b/source/layouts/post.haml @@ -49,13 +49,13 @@ %section.share %h4 Share this post - %a.icon-twitter{href: twitter_url, onclick: "window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"} + %a.icon-twitter{href: twitter_url, rel: 'nofollow', onclick: "window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"} %span.hidden Twitter - %a.icon-facebook{href: facebook_url, onclick: "window.open(this.href, 'facebook-share','width=580,height=296');return false;"} + %a.icon-facebook{href: facebook_url, rel: 'nofollow', onclick: "window.open(this.href, 'facebook-share','width=580,height=296');return false;"} %span.hidden Facebook - %a.icon-google-plus{href: google_plus_url, onclick: "window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;"} + %a.icon-google-plus{href: google_plus_url, rel: 'nofollow', onclick: "window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;"} %span.hidden Google+ - %a.icon-mail{href: mail_url} + %a.icon-mail{href: mail_url, rel: 'nofollow'} %span.hidden Email %aside.read-next