diff --git a/layouts/_default/documents.html b/layouts/_default/documents.html
index 08534ca..b04e234 100644
--- a/layouts/_default/documents.html
+++ b/layouts/_default/documents.html
@@ -12,11 +12,11 @@
{{- range $files -}}
{{- if .IsDir -}}
- {{ title .Name }}
+ {{ title (replaceRE `[_-]` " " (path.BaseName .Name)) }}
{{- template "listDir" (dict "dir" (printf "%s/%s" $dir .Name)) -}}
{{- else -}}
{{- with resources.Get (printf "%s/%s" $dir .Name) -}}
- {{ title (replace (path.BaseName .Name) "-" " ") }}
+ {{ title (replaceRE `[_-]` " " (path.BaseName .Name)) }}
{{- end -}}
{{- end -}}