]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
css: fix indentation
[ps-cgit] / ui-shared.c
index 03dcc0892626962300bb752b4a91083e23ce5041..2c91e75b0727f26f670e80546802d69b3012fc07 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("' target='_blank'>homepage</a>");
+               }
                html("</td><td class='form'>");
                html("<form class='right' method='get' action='");
                if (ctx.cfg.virtual_root) {