From d267d88c9cb1fb4a45120b86e410ab604626c6bb Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 11 Nov 2007 21:57:21 +0100 Subject: 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 --- cgitrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cgitrc') diff --git a/cgitrc b/cgitrc index 6363c9c..8c616e0 100644 --- a/cgitrc +++ b/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 -- cgit v1.2.3-2-gb3c3