cgitrc (1523B)
1 # 2 # cgit config 3 # see cgitrc(5) for details 4 5 css=/cgit.css 6 logo=/cgit.png 7 favicon=/favicon.png 8 root-readme=/usr/share/cgit/about.md 9 10 cache-size=1000 11 enable-http-clone=1 12 enable-commit-graph=1 13 enable-log-filecount=1 14 enable-log-linecount=1 15 enable-subject-links=1 16 enable-blame=1 17 max-stats=quarter 18 repository-sort=age 19 remove-suffix=1 20 21 # Search the following paths for a repo's about page 22 readme=:README.md 23 readme=:README.txt 24 readme=:README 25 26 # Use the appropriate tool for rendering about pages 27 about-filter=/usr/lib/cgit/filters/about-formatting.sh 28 29 # Specify the title/description of the root page 30 root-title=git.paritybit.ca 31 root-desc=Jake Bauer's Git Repositories 32 33 # Add some extra tags to the HTML <head> 34 head-include=/usr/share/cgit/custom-head.html 35 36 # Set the clone URL that will appear for every repo 37 clone-url=https://git.paritybit.ca/~jbauer/$CGIT_REPO_URL 38 39 # Set of snapshot formats for people to download 40 snapshots=tar.gz tar.bz2 zip 41 42 # Use python-pygments for syntax highlighting 43 source-filter=/usr/lib/cgit/filters/syntax-highlighting.py 44 45 # Sort sections by position in file, not alphabetically 46 section-sort=0 47 48 # Generate URLs relative to cgit's root 49 virtual-root=/ 50 51 # Some common mimetypes for serving files raw 52 mimetype.gif=image/gif 53 mimetype.html=text/html 54 mimetype.jpg=image/jpeg 55 mimetype.jpeg=image/jpeg 56 mimetype.pdf=application/pdf 57 mimetype.png=image/png 58 mimetype.svg=image/svg+xml 59 60 # Include repos from the following file. 61 # Allows easier specification of description, no weird paths. 62 include=/etc/cgitrepos