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>
This commit is contained in:
Lars Hjemli 2007-11-11 21:57:21 +01:00
parent 1b7c5b2e0b
commit d267d88c9c
4 changed files with 11 additions and 0 deletions

5
cgitrc
View file

@ -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