diff options
| author | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 21:57:21 +0100 |
|---|---|---|
| committer | Lars Hjemli <hjemli@gmail.com> | 2007-11-11 21:57:21 +0100 |
| commit | d267d88c9cb1fb4a45120b86e410ab604626c6bb (patch) | |
| tree | 55ee3a76da83a6272e446f5201928fe1753ea30d /cgit.h | |
| parent | Generate valid html for "downloads" menu header (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 '')
| -rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ extern char *cgit_virtual_root; extern char *cgit_script_name; extern char *cgit_cache_root; extern char *cgit_repo_group; +extern char *cgit_robots; extern int cgit_nocache; extern int cgit_snapshots; |