aboutsummaryrefslogtreecommitdiff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorNaïm Favier <fnaim42@gmail.com>2019-12-09 18:38:14 +0000
committerChristian Hesse <mail@eworm.de>2022-12-19 17:02:52 +0000
commitecd9c584ce5894f4a06d23eec5678a642c2f7020 (patch)
treebafdc6b4f72be20c28dcbaddc3b9b67061c8c24d /cgitrc.5.txt
parent907134b7a29177cb45aa461c549c004b1ae875af (diff)
downloadcgit-ecd9c584ce5894f4a06d23eec5678a642c2f7020.tar
cgit-ecd9c584ce5894f4a06d23eec5678a642c2f7020.tar.gz
cgit-ecd9c584ce5894f4a06d23eec5678a642c2f7020.zip
Make default pages configurablech/default-pages
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt14
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