summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2007-11-11 20:57:21 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-11-11 20:57:21 (UTC)
commitd267d88c9cb1fb4a45120b86e410ab604626c6bb (patch) (side-by-side diff)
tree55ee3a76da83a6272e446f5201928fe1753ea30d /cgit.h
parent1b7c5b2e0b918e9452694aace7c19194683989a8 (diff)
downloadcgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.zip
cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.tar.gz
cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.tar.bz2
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 'cgit.h') (more/less context) (show whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 6291c58..ab0efeb 100644
--- a/cgit.h
+++ b/cgit.h
@@ -141,2 +141,3 @@ extern char *cgit_cache_root;
extern char *cgit_repo_group;
+extern char *cgit_robots;