X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2915483ef6c9c29ac1493e6945688bb62f7825b4..6ef637e0908ca5a14675b3513f48cd390d3757fe:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 9ec646b..4c0613a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -364,6 +364,8 @@ void cgit_print_docstart(char *title, struct cacheitem *item) html_txt(title); html("\n"); htmlf("\n", cgit_version); + if (cgit_robots && *cgit_robots) + htmlf("\n", cgit_robots); html("\n"); @@ -411,7 +413,7 @@ int print_archive_ref(const char *refname, const unsigned char *sha1, hashcpy(fileid, sha1); } if (!*header) { - html("