Crawlers should not crawl theme switch buttons
This commit is contained in:
parent
c0ccb7f3d1
commit
7f85ce776b
2 changed files with 3 additions and 1 deletions
|
@ -235,7 +235,8 @@
|
|||
(if (equal? theme (user-cookies^-theme user-cookies))
|
||||
"bw-theme__item bw-theme__item--selected"
|
||||
"bw-theme__item"))
|
||||
`(a (@ (href ,(user-cookies-setter-url
|
||||
`(a (@ (rel "nofollow")
|
||||
(href ,(user-cookies-setter-url
|
||||
req
|
||||
(struct-copy user-cookies^ user-cookies
|
||||
[theme theme]))) (class ,class))
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
User-Agent: *
|
||||
Disallow: /*/wiki/*
|
||||
Disallow: /proxy
|
||||
Disallow: /set-user-settings
|
||||
|
|
Loading…
Reference in a new issue