diff options
| author | Naïm Favier <fnaim42@gmail.com> | 2019-12-09 19:38:14 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-10-17 19:37:52 +0100 |
| commit | b61c03dbed3fa22ea18b00b3ac62a01d04c9c9d0 (patch) | |
| tree | 0e95529d1c8ac7ddf60707b57b73fba6aaae7e1a /cgitrc.5.txt | |
| parent | 09d24d7cd0b7e85633f2f43808b12871bb209d69 (diff) | |
Make default pages configurable
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
| -rw-r--r-- | cgitrc.5.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 6f3e952..ac86864 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -129,6 +129,12 @@ css:: Default value: "/cgit.css". May be given multiple times, each css URL path is added in the head section of the document in turn. +default-page:: + Specifies the default page for repositories. This setting is only used + if `repo.default-page` is unspecified. Possible values: "about", + "summary", "refs", "log", "tree", "commit", "diff", "stats". Default + value: "summary". + email-filter:: Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various @@ -359,6 +365,10 @@ robots:: Text used as content for the "robots" meta-tag. Default value: "index, nofollow". +root-default-page:: + Specifies the default root page. Possible values are "repolist" and + "about". Default value: "repolist". + root-desc:: Text printed below the heading on the repository index page. Default value: "a fast webinterface for the git dscm". @@ -482,6 +492,10 @@ repo.commit-sort:: ordering. If unset, the default ordering of "git log" is used. Default value: unset. +repo.default-page:: + Specifies the default page for the repository. Default value: global + default-page. + repo.defbranch:: The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used |
