author | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 22:56:40 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 22:56:40 (UTC) |
commit | 0d05bca502f4a5347fa629045aca97ba9b404acc (patch) (side-by-side diff) | |
tree | e11b6a3e183aab02824f83c51759b5d426a64a67 /cgitrc | |
parent | a215bf4620113fcefb8dd3442bf3501bd648c463 (diff) | |
download | cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.zip cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.gz cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.bz2 |
Add setting to enable/disable extra links on index page
The summary/log/tree links displayed for each repository on the index
page lost some of their purpose when the header menu was added, so this
commit introduces the parameter 'enable-index-links' which must be set
to 1 to enable these links.
Suggested-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,24 +3,28 @@ ## ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly ## usefull for testing. #nocache=0 ## Enable/disable snapshots by default. This can be overridden per repo #snapshots=0 +## Enable/disable extra links to summary/log/tree per repo on index page +#enable-index-links=0 + + ## Enable/disable display of 'number of files changed' in log view #enable-log-filecount=0 ## Enable/disable display of 'number of lines changed' in log view #enable-log-linecount=0 ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum ## number of commits that should be displayed #summary-log=0 |