Website Summary Files Commits Branches @commit @diff @stats
path: root / cgitrc.5.txt
diff options
context:
space:
mode:
Commit17e3ff42646f182911fd0e5d872082977538db9e (patch)
Author
 Lars Hjemli <hjemli@gmail.com>
2009-08-09 13:45:36 +0200
Committer
 Lars Hjemli <hjemli@gmail.com>
2009-08-09 13:45:36 +0200
Files6fedf480751b534ac11066dd143fd0589cad284a /cgitrc.5.txt
cgit-17e3ff42646f182911fd0e5d872082977538db9e.tar
cgit-17e3ff42646f182911fd0e5d872082977538db9e.tar.gz
cgit-17e3ff42646f182911fd0e5d872082977538db9e.zip
Parentb4c3562f57c924866314d0f80f46dddecd4ce61a (diff)
Parentc4d46c7035d07070ac1ebf0c0b44df927358687f (diff)
Merge branch 'lh/mimetypes'
1 files changed, 17 insertions, 0 deletions
-rw-r--r--cgitrc.5.txt17
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 7754923..0412f64 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -147,6 +147,10 @@ max-stats::
"month", "quarter" and "year". If unspecified, statistics are
disabled. Default value: none. See also: "repo.max-stats".
+mimetype.<ext>::
+ Set the mimetype for the specified filename extension. This is used
+ by the `plain` command when returning blob content.
+
module-link::
Text which will be used as the formatstring for a hyperlink when a
submodule is printed in a directory listing. The arguments for the
@@ -329,6 +333,19 @@ snapshots=tar.gz tar.bz2 zip
##
+## List of common mimetypes
+##
+
+mimetype.git=image/git
+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
+
+
+##
## List of repositories.
## PS: Any repositories listed when repo.group is unset will not be
## displayed under a group heading