mirror of
https://git.zx2c4.com/cgit
synced 2025-07-31 16:14:28 +02:00
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>
This commit is contained in:
parent
1b7c5b2e0b
commit
d267d88c9c
4 changed files with 11 additions and 0 deletions
1
cgit.h
1
cgit.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue