about summary refs log tree commit diff stats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli2007-11-11 21:57:21 +0100
committerLars Hjemli2007-11-11 21:57:21 +0100
commitd267d88c9cb1fb4a45120b86e410ab604626c6bb (patch)
tree55ee3a76da83a6272e446f5201928fe1753ea30d /cgit.h
parentGenerate valid html for "downloads" menu header (diff)
downloadcgit-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 'cgit.h')
-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
@@ -139,6 +139,7 @@ extern char *cgit_virtual_root;
139extern char *cgit_script_name; 139extern char *cgit_script_name;
140extern char *cgit_cache_root; 140extern char *cgit_cache_root;
141extern char *cgit_repo_group; 141extern char *cgit_repo_group;
142extern char *cgit_robots;
142 143
143extern int cgit_nocache; 144extern int cgit_nocache;
144extern int cgit_snapshots; 145extern int cgit_snapshots;