Commit 97189475 authored by Henk Verlinde's avatar Henk Verlinde
Browse files

fix: lang always is part of filepath

parent 79ad59f3
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -20,11 +20,7 @@

{{ $filePath := replace .File.Path "\\" "/" }}

{{ if .Site.Params.options.multilingualMode }}
{{ $parts = $parts | append "content" .Lang $filePath }}
{{ else }}
  {{ $parts = $parts | append "content" $filePath }}
{{ end }}

{{ $url := delimit $parts "/" }}