about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-06-09 22:25:07 -0500
committerCase Duckworth2022-06-09 22:25:07 -0500
commitcab20df1e5bb65ea32b962cd259f9e75b8d2d189 (patch)
treeed46a45815b9788235d66b3d31a93a35402017fb
parentAdd footer (diff)
downloadcgit-cab20df1e5bb65ea32b962cd259f9e75b8d2d189.tar.gz
cgit-cab20df1e5bb65ea32b962cd259f9e75b8d2d189.zip
Change configuration around a bit
-rw-r--r--cgit.css4
-rw-r--r--cgitrc12
2 files changed, 14 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css index 2dd656f..68e603e 100644 --- a/cgit.css +++ b/cgit.css
@@ -303,6 +303,10 @@ div#cgit td.ls-mode {
303div#cgit table.blob { 303div#cgit table.blob {
304 margin-top: 0.5em; 304 margin-top: 0.5em;
305 border-top: solid 1px black; 305 border-top: solid 1px black;
306 border-bottom: solid 1px black;
307 border-collapse: separate;
308 border-spacing: 1ch;
309 background: #ffe;
306} 310}
307 311
308div#cgit table.blob td.hashes, 312div#cgit table.blob td.hashes,
diff --git a/cgitrc b/cgitrc index 9292df8..b6a7ed2 100644 --- a/cgitrc +++ b/cgitrc
@@ -8,15 +8,23 @@ css=/cgit.css
8#logo=/cgit.png 8#logo=/cgit.png
9logo=/avatar.png 9logo=/avatar.png
10 10
11clone-url=git://$HTTP_HOST/$CGIT_REPO_URL 11clone-url=git://$HTTP_HOST/$CGIT_REPO_URL http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
12enable-index-owner=0
13enable-index-links=1
14enable-subject-links=1
15
12snapshots=tar.gz zip 16snapshots=tar.gz zip
13 17
14enable-commit-graph=1 18enable-commit-graph=1
15repository-sort=age 19repository-sort=age
16branch-sort=age 20branch-sort=age
17 21
22max-stats=year
18max-repodesc-length=100 23max-repodesc-length=100
19 24
25noplainemail=1
26
27side-by-side-diffs=1
20section-from-path=1 28section-from-path=1
21max-repo-count=100 29max-repo-count=100
22 30
@@ -42,7 +50,7 @@ readme=:README.md
42readme=:readme.txt 50readme=:readme.txt
43readme=:README 51readme=:README
44about-filter=/usr/bin/cgit-about-filter.sh 52about-filter=/usr/bin/cgit-about-filter.sh
45default-tab=about # default: summary (requires patch) 53default-tab=about
46 54
47# Folder with all my repos 55# Folder with all my repos
48scan-path=/git/ 56scan-path=/git/