indexabout
root-title=Department of Bad Code
root-desc=I implemented Dijkstra / And compiled it with -Wextra / GCC said / "Your brain is dead" / And then concluded "Next! Bruh."
clone-prefix=https://git.unnamed.website

# To clear cache, run
# sudo sh -c "rm /var/cache/cgit/*"
cache-size=64

# Requires compiling
# https://git.zx2c4.com/cgit/log/?h=ch/default-pages
default-page=about

# Idle column uses master branch
# https://lists.zx2c4.com/pipermail/cgit/2020-August/004514.html
# Can manually set the time
# https://ch1p.io/cgit-idle-time/
repository-sort=age

# No spam plz
noplainemail=1

# The default md2html filter uses python-markdown and is super slow
# Instead use MD4C's md2html --github
about-filter=/usr/lib/cgit/filters/md2html.sh
readme=:README.md
root-readme=/etc/cgitrc

# scan-path MUST be last!
# https://wiki.archlinux.org/title/Cgit#readme_files_are_not_found,_about_tab_not_shown
# To make repo unlisted, add hide=1 to its cgitrc
section-from-path=1
scan-path=/srv/git