mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 01:54:28 +02:00
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:
parent
1b7c5b2e0b
commit
d267d88c9c
4 changed files with 11 additions and 0 deletions
5
cgitrc
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue