From 99c81764f66c0877a7ed66f5a03d52f948377678 Mon Sep 17 00:00:00 2001 From: equa Date: Thu, 6 Jan 2022 18:18:05 -0600 Subject: Add "default-tab" and "root-default-tab" configuration options These options allow the user to specify a page to display at the root repository/index location instead of the default summary or repository list. Signed-off-by: equa --- cgitrc.5.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 33a6a8c..f32fb33 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -128,6 +128,10 @@ css:: Url which specifies the css document to include in all cgit pages. Default value: "/cgit.css". +default-tab:: + Specifies the tab to automatically load in the root page of a repository. + Default value: "summary". See also: root-default-tab, repo.default-tab. + email-filter:: Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various @@ -352,6 +356,10 @@ robots:: Text used as content for the "robots" meta-tag. Default value: "index, nofollow". +root-default-tab:: + Specifies the tab to automatically load as the root index page. + Default value: "repolist". See also: default-tab, repo.default-tab. + root-desc:: Text printed below the heading on the repository index page. Default value: "a fast webinterface for the git dscm". @@ -481,6 +489,9 @@ repo.defbranch:: as default instead. Default value: branch pointed to by HEAD, or "master" if there is no suitable HEAD. +repo.default-tab:: + Override the global default-tab. Default value: none. + repo.desc:: The value to show as repository description. Default value: none. -- cgit 1.3.0-6-gf8a5