aboutsummaryrefslogblamecommitdiffstats
path: root/roles/cgit/templates/cgitrc.j2
blob: 4c139d4d519464ed67b563731c53c6f5bfab0e26 (plain) (tree)
1
2
3
4
5
6

                    
       

                                
 











                                 



                      




                        
                                           

             








                                 







                            








                            
# managed by Ansible

# cache
cache-root={{ cgit_cache_dir }}
cache-size={{ cgit_cache_size }}

# readme
readme=:README.md
readme=:README.org
readme=:README
readme=:.README.md
readme=:.README
about-filter=/bin/about-filter.sh

# features
enable-commit-graph=1
enable-http-clone=1
enable-index-links=1
enable-blame=1
enable-git-config=1
enable-log-linecount=1
enable-log-filecount=1
max-stats=quarter
robots=noindex, nofollow
localtime=1

# git
clone-url={{ cgit_clone_urls | join(' ') }}

# instance id
root-title={{ cgit_domain_name }}
root-desc={{ cgit_description }}
root-readme={{ cgit_readme_url }}

# visuals
css={{ cgit_css_url }}
logo={{ cgit_logo_url }}
favicon={{ cgit_favicon_url }}
footer={{ cgit_footer_path }}

# archives
snapshots=tar.gz

# sections
section-from-path=1
section-sort=1
scan-path={{ cgit_git_dir }}

# mimetypes
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
remember that computers suck.