{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ $lang := .Lang | urlize }} {{ $.Scratch.Add "path" .Site.BaseURL }}