diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-21 07:05:01 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-21 07:05:01 -0700 |
| commit | ef8a1534e8b3b6eecc0d15ffb3c9579ec8b9e48c (patch) | |
| tree | 5e459e12e2e4acb42a57606f1a40ddceebb42dc0 | |
| parent | Use separate log files per domain with httpd (diff) | |
| download | site-configs-ef8a1534e8b3b6eecc0d15ffb3c9579ec8b9e48c.zip | |
Tidy up cgit header ui to remove logo, desc, and horizontal bar
| -rw-r--r-- | roles/obsd_cgit/files/cgit.css | 1 | ||||
| -rw-r--r-- | roles/obsd_cgit/templates/cgitrc.j2 | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/roles/obsd_cgit/files/cgit.css b/roles/obsd_cgit/files/cgit.css index 53a8619..a19e255 100644 --- a/roles/obsd_cgit/files/cgit.css +++ b/roles/obsd_cgit/files/cgit.css @@ -70,6 +70,7 @@ div#cgit table#header td.sub { color: #777; border-top: solid 1px #ccc; padding-left: 10px; + display: none; } div#cgit table#header td.sub.right { diff --git a/roles/obsd_cgit/templates/cgitrc.j2 b/roles/obsd_cgit/templates/cgitrc.j2 index 2a4ea68..295f046 100644 --- a/roles/obsd_cgit/templates/cgitrc.j2 +++ b/roles/obsd_cgit/templates/cgitrc.j2 @@ -1,4 +1,5 @@ root-title=Eugene Triguba's Git Repositories +root-desc= enable-blame=1 enable-commit-graph=1 @@ -24,7 +25,7 @@ remove-suffix=1 readme=:README.md css=/cgit.css -logo=/cgit.png +logo= virtual-root=/ section-from-path=1 scan-path={{ obsd_cgit_repos_dir }} |