diff --git a/bin/controller.rc b/bin/controller.rc
index 69f0df7..59f8b5b 100755
--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -99,7 +99,7 @@ fn genbody {
if ( ~ $body */index.md ) {
echo '
' `{basename `{basename -d $body}}'
'
echo ''
- ls -F `{ basename -d $body } |grep -v '(^.|/_[^/]*$)' | sed -e 's,^./,,' -e 's,\.md$,,' -e 's,^'$sitedir'/([^/]*[/]?)+,- \1
,'
+ ls -F `{ basename -d $body } |grep -v '(^\.|/_[^/]*$)' | sed -e 's,^./,,' -e 's,\.md$,,' -e 's,^'$sitedir'/([^/]*[/]?)+,- \1
,'
echo '
'
}
if not { template.awk inc/404.tpl | rc }