Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iglvzx/IGalvez.Autoindex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIzzy Galvez <i@igalvez.net>2015-10-26 17:46:39 +0300
committerIzzy Galvez <i@igalvez.net>2015-10-26 17:46:39 +0300
commit376a7e1f95c67258d289d983ea1beed533717fe7 (patch)
treef247a64b0d61d77b932385bee9bd901fdfd4307d
parent7e6756f6b7254159f38ef2752e15d9165dd116dd (diff)
ignore robots.txt files, add pdf file type icon
-rw-r--r--.autoindex/file-types.js8
-rwxr-xr-x.htaccess1
2 files changed, 9 insertions, 0 deletions
diff --git a/.autoindex/file-types.js b/.autoindex/file-types.js
index 1fee325..772741d 100644
--- a/.autoindex/file-types.js
+++ b/.autoindex/file-types.js
@@ -91,6 +91,14 @@ var fileTypes = [
'tar',
'gz'
]
+ },
+
+ {
+ type: "pdf",
+ icon: "file-pdf-o",
+ extensions: [
+ 'pdf'
+ ]
}
];
diff --git a/.htaccess b/.htaccess
index 0433325..35f1214 100755
--- a/.htaccess
+++ b/.htaccess
@@ -32,3 +32,4 @@ ErrorDocument 500 /.autoindex/error/500.shtml
IndexIgnore LICENSE
IndexIgnore README.md
+IndexIgnore robots.txt