63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
#
|
|
# cgit config
|
|
# see cgitrc(5) for details
|
|
|
|
css=/cgit.css
|
|
logo=/cgit.png
|
|
favicon=/favicon.png
|
|
root-readme=/usr/share/cgit/about.md
|
|
|
|
cache-size=1000
|
|
enable-http-clone=1
|
|
enable-commit-graph=1
|
|
enable-log-filecount=1
|
|
enable-log-linecount=1
|
|
enable-subject-links=1
|
|
enable-blame=1
|
|
max-stats=quarter
|
|
repository-sort=age
|
|
remove-suffix=1
|
|
|
|
# Search the following paths for a repo's about page
|
|
readme=:README.md
|
|
readme=:README.txt
|
|
readme=:README
|
|
|
|
# Use the appropriate tool for rendering about pages
|
|
about-filter=/usr/lib/cgit/filters/about-formatting.sh
|
|
|
|
# Specify the title/description of the root page
|
|
root-title=git.paritybit.ca
|
|
root-desc=Jake Bauer's Git Repositories
|
|
|
|
# Add some extra tags to the HTML <head>
|
|
head-include=/usr/share/cgit/custom-head.html
|
|
|
|
# Set the clone URL that will appear for every repo
|
|
clone-url=https://git.paritybit.ca/~jbauer/$CGIT_REPO_URL
|
|
|
|
# Set of snapshot formats for people to download
|
|
snapshots=tar.gz tar.bz2 zip
|
|
|
|
# Use python-pygments for syntax highlighting
|
|
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
|
|
|
|
# Sort sections by position in file, not alphabetically
|
|
section-sort=0
|
|
|
|
# Generate URLs relative to cgit's root
|
|
virtual-root=/
|
|
|
|
# Some common mimetypes for serving files raw
|
|
mimetype.gif=image/gif
|
|
mimetype.html=text/html
|
|
mimetype.jpg=image/jpeg
|
|
mimetype.jpeg=image/jpeg
|
|
mimetype.pdf=application/pdf
|
|
mimetype.png=image/png
|
|
mimetype.svg=image/svg+xml
|
|
|
|
# Include repos from the following file.
|
|
# Allows easier specification of description, no weird paths.
|
|
include=/etc/cgitrepos
|