mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-03-05 13:40:27 -05:00
Crawlers should not crawl theme switch buttons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user