views: add rel=nofollow to some links
This commit is contained in:
parent
d1febbd5a4
commit
34aeb2350c
|
@ -9,4 +9,4 @@
|
|||
- APP_LOCALES.each do |key, value|
|
||||
%li
|
||||
.flag{ class: "flag-#{value[1]}" }
|
||||
%a{ href: "?hl=#{key}" }= value[0]
|
||||
%a{ href: "?hl=#{key}", rel: 'nofollow' }= value[0]
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
- unless user.profile.website.blank?
|
||||
.profile__website
|
||||
%i.fa.fa-fw.fa-globe
|
||||
%a{ href: user.profile.website, target: '_blank' }= user.profile.display_website
|
||||
%a{ href: user.profile.website, target: '_blank', rel: 'nofollow' }= user.profile.display_website
|
||||
- unless user.profile.location.blank?
|
||||
.profile__location
|
||||
%i.fa.fa-fw.fa-location-arrow
|
||||
|
|
Loading…
Reference in New Issue