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 /cgit.h | |
parent | 1b7c5b2e0b918e9452694aace7c19194683989a8 (diff) | |
download | cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.tar.gz cgit-d267d88c9cb1fb4a45120b86e410ab604626c6bb.tar.bz2 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ extern char *cgit_virtual_root; | |||
139 | extern char *cgit_script_name; | 139 | extern char *cgit_script_name; |
140 | extern char *cgit_cache_root; | 140 | extern char *cgit_cache_root; |
141 | extern char *cgit_repo_group; | 141 | extern char *cgit_repo_group; |
142 | extern char *cgit_robots; | ||
142 | 143 | ||
143 | extern int cgit_nocache; | 144 | extern int cgit_nocache; |
144 | extern int cgit_snapshots; | 145 | extern int cgit_snapshots; |