author | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 20:57:21 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 20:57:21 (UTC) |
commit | d267d88c9cb1fb4a45120b86e410ab604626c6bb (patch) (unidiff) | |
tree | 55ee3a76da83a6272e446f5201928fe1753ea30d /cgit.h | |
parent | 1b7c5b2e0b918e9452694aace7c19194683989a8 (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,24 +130,25 @@ extern int cgit_cmd; | |||
130 | extern char *cgit_root_title; | 130 | extern char *cgit_root_title; |
131 | extern char *cgit_css; | 131 | extern char *cgit_css; |
132 | extern char *cgit_logo; | 132 | extern char *cgit_logo; |
133 | extern char *cgit_index_header; | 133 | extern char *cgit_index_header; |
134 | extern char *cgit_index_info; | 134 | extern char *cgit_index_info; |
135 | extern char *cgit_logo_link; | 135 | extern char *cgit_logo_link; |
136 | extern char *cgit_module_link; | 136 | extern char *cgit_module_link; |
137 | extern char *cgit_agefile; | 137 | extern char *cgit_agefile; |
138 | extern char *cgit_virtual_root; | 138 | 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; |
145 | extern int cgit_enable_index_links; | 146 | extern int cgit_enable_index_links; |
146 | extern int cgit_enable_log_filecount; | 147 | extern int cgit_enable_log_filecount; |
147 | extern int cgit_enable_log_linecount; | 148 | extern int cgit_enable_log_linecount; |
148 | extern int cgit_max_lock_attempts; | 149 | extern int cgit_max_lock_attempts; |
149 | extern int cgit_cache_root_ttl; | 150 | extern int cgit_cache_root_ttl; |
150 | extern int cgit_cache_repo_ttl; | 151 | extern int cgit_cache_repo_ttl; |
151 | extern int cgit_cache_dynamic_ttl; | 152 | extern int cgit_cache_dynamic_ttl; |
152 | extern int cgit_cache_static_ttl; | 153 | extern int cgit_cache_static_ttl; |
153 | extern int cgit_cache_max_create_time; | 154 | extern int cgit_cache_max_create_time; |