mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 08:44:04 +01:00
20 lines
551 B
Go
20 lines
551 B
Go
package header
|
|
|
|
// RobotsRule represents a robots.txt directive rule.
|
|
type RobotsRule = string
|
|
|
|
// RobotsTag controls how pages are indexed and crawled by search engines:
|
|
// https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#xrobotstag
|
|
const (
|
|
RobotsTag = "X-Robots-Tag"
|
|
)
|
|
|
|
// Standard Robots header values.
|
|
const (
|
|
RobotsAll RobotsRule = "all"
|
|
RobotsNone RobotsRule = "noindex, nofollow"
|
|
RobotsNoIndex RobotsRule = "noindex"
|
|
RobotsNoFollow RobotsRule = "nofollow"
|
|
RobotsNoImages RobotsRule = "noimageindex"
|
|
)
|