aboutsummaryrefslogblamecommitdiff
blob: 5504b574c30d9d7d43eedb15175609953e5c6f71 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                              
                    
              

          




                          

                                
                                                                  


                                                             




                                                                

                                                                                                                             










                            
                   







                        


                    











































                                                                                              
## style-sheet and custom logo
css=/static/cgit.css
logo=/cgit.png
noheader=0
embedded=0

## root for all cgit links
virtual-root=/

## root config
root-title=Clarkzjw's Git Server
root-desc=
root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html
head-include=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/head
header=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/header
footer=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/footer

## syntax highlighting
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh

clone-url=https://{{ lookup('env', 'CGIT_DOMAIN') }}/$CGIT_REPO_URL git@{{ lookup('env', 'CGIT_SSH_DOMAIN') }}:$CGIT_REPO_URL

## mimetype
mimetype.gif=image/gif
mimetype.html=text/html
mimetype.jpg=image/jpeg
mimetype.jpeg=image/jpeg
mimetype.bmp=image/bmp
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml

## features
repository-sort=age
remove-suffix=1
enable-remote-branches=1
enable-index-links=1
enable-index-owner=0
enable-git-config=1
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
enable-http-clone=1
enable-blame=1
side-by-side-diffs=1

## readme
readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install

## Sort branches by date
branch-sort=age

## search projects
section-from-path=1
project-list=/opt/git/projects.list
scan-path=/opt/git/repositories/

## refs:
## https://jmahler.github.io/git/2013/06/29/cgit.html
## https://gitolite.com/gitolite/fool_proof_setup
## https://github.com/sitaramc/gitolite
## https://herrbischoff.com/2021/10/how-to-install-cgit-with-gitolite-and-nginx-on-freebsd-13/
Powered by cgit v1.2.3 (git 2.41.0)