{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ if ne $url "" }} ←{{ with .Site.Params.home }}{{ . }}{{ else }}Home{{ end }} {{ end }} {{ if ne $url "about/" }} {{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }} {{ end }} {{ with .Site.Params.subscribe }}{{ . }}{{ else }}Subscribe{{ end }}