]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
tabs: do not use target=_blank
[ps-cgit] / ui-shared.c
index 03dcc0892626962300bb752b4a91083e23ce5041..3b2dc06ceef471ecfc1d8bae23589884a681c5bb 100644 (file)
@@ -997,6 +997,11 @@ void cgit_print_pageheader(void)
                if (ctx.repo->max_stats)
                        cgit_stats_link("stats", NULL, hc("stats"),
                                        ctx.qry.head, ctx.qry.vpath);
+               if (ctx.repo->homepage) {
+                       html("<a href='");
+                       html_attr(ctx.repo->homepage);
+                       html("'>homepage</a>");
+               }
                html("</td><td class='form'>");
                html("<form class='right' method='get' action='");
                if (ctx.cfg.virtual_root) {