diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index ccf066e..da37b06 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -818,6 +818,10 @@ void cgit_print_docstart(void) html("<title>"); html_txt(ctx.page.title); html("</title>\n"); + html("<meta charset='utf-8'>"); + html("<meta name='viewport' content='width=device-width, initial-scale=1'>"); + htmlf("<meta name='author' content='%s'>", ctx.cfg.root_title); + htmlf("<meta name='description' content='%s'>", ctx.cfg.root_title); 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); @@ -877,7 +881,7 @@ void cgit_print_docend(void) if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> " + htmlf("<div class='footer'>generated by <a href='https://g.freya.cat/cgit/'>cgit %s</a> " "(<a href='https://git-scm.com/'>git %s</a>) at ", cgit_version, git_version_string); html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601))); html("</div>\n"); |