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|
|
- APP_LOCALES.each do |key, value|
|
||||||
%li
|
%li
|
||||||
.flag{ class: "flag-#{value[1]}" }
|
.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?
|
- unless user.profile.website.blank?
|
||||||
.profile__website
|
.profile__website
|
||||||
%i.fa.fa-fw.fa-globe
|
%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?
|
- unless user.profile.location.blank?
|
||||||
.profile__location
|
.profile__location
|
||||||
%i.fa.fa-fw.fa-location-arrow
|
%i.fa.fa-fw.fa-location-arrow
|
||||||
|
|
Loading…
Reference in New Issue