diff options
author | Lars Hjemli | 2007-11-11 21:57:21 +0100 |
---|---|---|
committer | Lars Hjemli | 2007-11-11 21:57:21 +0100 |
commit | d267d88c9cb1fb4a45120b86e410ab604626c6bb (patch) | |
tree | 55ee3a76da83a6272e446f5201928fe1753ea30d /cgitrc | |
parent | Generate valid html for "downloads" menu header (diff) | |
download | cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.tar.gz cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.zip |
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>
Diffstat (limited to 'cgitrc')
-rw-r--r-- | cgitrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc index 6363c9c..8c616e0 100644 --- a/cgitrc +++ b/cgitrc | |||
@@ -8,6 +8,11 @@ | |||
8 | #nocache=0 | 8 | #nocache=0 |
9 | 9 | ||
10 | 10 | ||
11 | ## This variable can be used to override the default value for "robots" | ||
12 | ## meta-tag. If unset, the meta-tag isn't generated. | ||
13 | #robots=index, nofollow | ||
14 | |||
15 | |||
11 | ## Set allowed snapshot types by default. Can be overridden per repo | 16 | ## Set allowed snapshot types by default. Can be overridden per repo |
12 | # can be any combination of zip/tar.gz/tar.bz2/tar | 17 | # can be any combination of zip/tar.gz/tar.bz2/tar |
13 | #snapshots=0 | 18 | #snapshots=0 |