summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-11-15 14:53:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-11-15 14:53:54 -0200
commit9537004b1a8e46a8fe875015535bf20d9d8a002d (patch)
tree9f44d30118594ff3782e00862c709e87d67b4f58 /templates
parent9cd71ee6d38dd4a89e6e87b79bd0293c3a6f3130 (diff)
downloadpuppet-apache-9537004b1a8e46a8fe875015535bf20d9d8a002d.tar.gz
puppet-apache-9537004b1a8e46a8fe875015535bf20d9d8a002d.tar.bz2
Enabling stylesheet and markdown icon on autoindex
Diffstat (limited to 'templates')
-rw-r--r--templates/autoindex.conf.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/autoindex.conf.erb b/templates/autoindex.conf.erb
index 6fc4829..9f55b09 100644
--- a/templates/autoindex.conf.erb
+++ b/templates/autoindex.conf.erb
@@ -19,6 +19,7 @@ IndexOptions IconHeight=16
IndexOptions NameWidth=*
IndexOptions Charset=UTF-8
IndexOrderDefault Descending Name
+IndexHeadInsert "<link href=\"/icons/style.css\" media=\"screen,projection\" type=\"text/css\" rel=\"stylesheet\" />"
#HeaderName /icons/header.html
#ReadmeName /icons/footer.html
@@ -39,7 +40,7 @@ AddIcon /icons/app.png .app
AddIcon /icons/movie.png .mov .mpg .mpeg .m2v .avi .divx .xvid .swf .wmv .wma .wm* .ram .rm .ogm .ogv
# Documents
-AddIcon /icons/txt.png .txt .text .log
+AddIcon /icons/txt.png .txt .text .log .mdwn
AddIcon /icons/html.png .htm .html .xml .php .shtml .xhtml
AddIcon /icons/odt.png .odt .rtf .doc .ps .pdf
AddIcon /icons/ods.png .ods .xls