# title, description, and css. logo is empty so it's not displayed. root-title=git.nytpu.com root-desc=“Is that really code? We didn't think he could actually do it” css=/custom.css logo= # the various filenames that are recognized as readmes and displayed on the about page readme=master:README.md readme=master:README readme=master:README.txt readme=master:README.html readme=master:readme.md readme=master:readme readme=master:readme.txt readme=master:readme.html # about-filter is run as a preprocessor for the about pages, while source-filter # is used as a preprocessor for viewing files in tree. # syntax-highlighting.py is provided by cgit, but i wrote my own about-filter # because i use scdoc, and want to be able to add more filetypes in the future #about-filter=/usr/lib/cgit/filters/about-formatting.sh about-filter=/usr/local/bin/cgit-about-filter source-filter=/usr/lib/cgit/filters/syntax-highlighting.py # the number of pages that are cached to save on regeneration cache-size=1024 # the urls to clone from clone-url=https://$HTTP_HOST/$CGIT_REPO_URL git://$HTTP_HOST/$CGIT_REPO_URL # if you don't set up a git server later on in the post, use this line so # a non-working git: url isn't shown #clone-url=https://$HTTP_HOST/$CGIT_REPO_URL # various types that you can make available for snapshots snapshots=tar.bz2 zip # don't allow indexing robots=noindex,nofollow # read descriptions and other data from the git config in each repository enable-git-config=1 # enable and disable various details being displayed enable-subject-links=1 enable-follow-links=1 enable-index-owner=0 enable-blame=1 enable-commit-graph=1 enable-log-filecount=1 enable-log-linecount=1 branch-sort=age repository-sort=age max-stats=quarter # extensions to mime type associations mimetype.gif=image/gif mimetype.html=text/html mimetype.jpg=image/jpeg mimetype.jpeg=image/jpeg mimetype.png=image/png mimetype.pdf=application/pdf mimetype.svg=image/svg+xml mimetype.md=text/markdown # use paths starting from / instead of query strings for everything virtual-root=/ remove-suffix=1 # if a repo on disk ends in ".git", remove it for the repo name displayed section-from-path=1 # if you have subfolders in your scan-path, create sections from them. # where to actually look for repos in. this should be last because some settings will be # ignored after this directive. scan-path=/home/alex/pub