Add support for "robots" meta-tag

With this change, cgit will start to generate the "robots" meta-tag, using
a default value of "index, nofollow".

The default value can be modified with a new cgitrc variable, "robots".

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Этот коммит содержится в:
Lars Hjemli
2007-11-11 21:57:21 +01:00
родитель 1b7c5b2e0b
Коммит d267d88c9c
4 изменённых файлов: 11 добавлений и 0 удалений

5
cgitrc
Просмотреть файл

@@ -8,6 +8,11 @@
#nocache=0
## This variable can be used to override the default value for "robots"
## meta-tag. If unset, the meta-tag isn't generated.
#robots=index, nofollow
## Set allowed snapshot types by default. Can be overridden per repo
# can be any combination of zip/tar.gz/tar.bz2/tar
#snapshots=0