diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 08be43e..a237973 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,7 @@
{{- substr $coreKid.File.Dir 0 -1 -}}⁄{{- $coreKid.Title -}} {{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }} {{ range $mantleKid := $scratchCKid.has_children }} -
{{- substr $mantleKid.File.Dir 0 -1 -}}⁄{{- $mantleKid.Title -}}
+
{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}{{- $mantleKid.Title -}}
{{ end }}
{{ end }}