mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-23 22:17:48 +01:00
Merge pull request #252 from Retrospring/rel-nofollow
views: add rel=nofollow to some links
This commit is contained in:
commit
c3ca93de7f
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue