diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index 5192800..2f771da 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -364,6 +364,8 @@ void cgit_print_docstart(char *title, struct cacheitem *item) | |||
364 | html_txt(title); | 364 | html_txt(title); |
365 | html("</title>\n"); | 365 | html("</title>\n"); |
366 | htmlf("<meta name='generator' content='cgit %s'/>\n", cgit_version); | 366 | htmlf("<meta name='generator' content='cgit %s'/>\n", cgit_version); |
367 | if (cgit_robots && *cgit_robots) | ||
368 | htmlf("<meta name='robots' content='%s'/>\n", cgit_robots); | ||
367 | html("<link rel='stylesheet' type='text/css' href='"); | 369 | html("<link rel='stylesheet' type='text/css' href='"); |
368 | html_attr(cgit_css); | 370 | html_attr(cgit_css); |
369 | html("'/>\n"); | 371 | html("'/>\n"); |