{{ $url := replace .Permalink ( printf "%s" site.BaseURL) "" }}
{{ $.Scratch.Add "path" site.BaseURL }}
Home
{{ range $index, $element := split $url "/" }}
{{ $.Scratch.Add "path" $element}}
{{ if ne $element "" }}
{{ if ne $element "fr" }}
/ {{ . | humanize }}
{{ end }}
{{ $.Scratch.Add "path" "/"}}
{{ end }}
{{ end }}