{{ $currentNode := . }} {{- $gitUrl := .Site.Params.giturl -}} {{ if eq hugo.Environment "preview" }}