{{ $filePath := replace .File.Path "\\" "/" }} {{ $contentPath := print .Site.Params.docsRepo "/blob/" .Site.Params.docsRepoBranch "/content/" }} {{ $url := print $contentPath $filePath }} {{ if .Site.Params.options.multilingualMode }} {{ $url = print $contentPath .Lang "/" $filePath }} {{ end }}

Edit this page on GitHub