shithub: werc

Download patch

ref: 1390c43685e086968cd47fdf33a9c0b5fb2dce28
parent: 65782207dd36421db1c63cbf1b79e11f55fdf12f
author: uriel <uriel@suckless.org>
date: Mon Sep 15 03:18:31 EDT 2008

Hide robots.txt too!

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -50,7 +50,7 @@
 }
 
 # Don't change var name or trailing ';', some dirs change the filter!
-dirfilter = '/\/[._]/d; /sitemap\.txt/d; s,^\./,,; s,\.md$,,; s,\.html,,; s,\.txt,,; '
+dirfilter = '/\/[._]/d; /\/robots.\txt$/d; /\/sitemap\.txt$/d; s,^\./,,; s,\.md$,,; s,\.html,,; s,\.txt,,; '
 
 # To be used from _config files
 fn hide_paths {