diff options
diff --git a/ui-shared.c b/ui-shared.c index c8fc780..9ee2e5b 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -818,6 +818,7 @@ void cgit_print_docstart(void) html("<title>"); html_txt(ctx.page.title); html("</title>\n"); + html(" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">"); htmlf("<meta name='generator' content='cgit %s'/>\n", cgit_version); if (ctx.cfg.robots && *ctx.cfg.robots) htmlf("<meta name='robots' content='%s'/>\n", ctx.cfg.robots); |