From 4b2e3c4280736fd488df579f78653886884d6622 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 8 Jan 2024 10:15:41 +0000 Subject: Fix to cgitrc --- stow/cgit/etc/cgitrc | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) mode change 120000 => 100644 stow/cgit/etc/cgitrc diff --git a/stow/cgit/etc/cgitrc b/stow/cgit/etc/cgitrc deleted file mode 120000 index ebc0210..0000000 --- a/stow/cgit/etc/cgitrc +++ /dev/null @@ -1 +0,0 @@ -/etc/cgitrc \ No newline at end of file diff --git a/stow/cgit/etc/cgitrc b/stow/cgit/etc/cgitrc new file mode 100644 index 0000000..7f5ccd6 --- /dev/null +++ b/stow/cgit/etc/cgitrc @@ -0,0 +1,31 @@ +# +# cgit config +# see cgitrc(5) for details + +css=/cgit-css/cgit.css +logo=/cgit-css/cgitAvatar.jpg + +readme=:README +readme=:README.md + +about-filter=/usr/lib/cgit/filters/about-formatting.sh + +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + +snapshots=tar.gz zip + +enable-http-clone=1 +#clone-prefix=https://git.taamas.xyz git://git.taamas.xyz + +# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: +virtual-root=/ + +# +# List of repositories. +# This list could be kept in a different file (e.g. '/etc/cgitrepos') +# and included like this: +# include=/etc/cgitrepos +# + +scan-path=/home/taamas/repos/remotes/public/ +#scan-path=/var/lib/gitea/data/gitea-repositories/taamas -- cgit v1.2.1