diff options
Diffstat (limited to 'modules/cgit')
-rw-r--r-- | modules/cgit/templates/cgitrc | 4 | ||||
-rw-r--r-- | modules/cgit/templates/vhost.conf | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/cgit/templates/cgitrc b/modules/cgit/templates/cgitrc index d063e4f6..1e1a399c 100644 --- a/modules/cgit/templates/cgitrc +++ b/modules/cgit/templates/cgitrc @@ -85,7 +85,7 @@ mimetype.png=image/png mimetype.svg=image/svg+xml -# Highlight source code with python pygments-based highligher +# Highlight source code with python pygments-based highlighter source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh # Format markdown, restructuredtext, manpages, text files, and html files @@ -108,7 +108,7 @@ readme=:INSTALL.html readme=:INSTALL.txt readme=:INSTALL -# Special Case mainly for initscrpipts git repo where we cannot write to master +# Special Case mainly for initscripts git repo where we cannot write to master readme=distro/mga:README.md ## diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf index d2385084..5c1d99e7 100644 --- a/modules/cgit/templates/vhost.conf +++ b/modules/cgit/templates/vhost.conf @@ -1,4 +1,5 @@ Alias /cgit-data /usr/share/cgit +Alias /robots.txt /usr/share/cgit/robots.txt ScriptAliasMatch ^(.*) /var/www/cgi-bin/cgit$1 <Directory /usr/share/cgit> |