{{ if .IsPage }} {{ $folder := "content" }} {{ if eq "/zh" .Site.LanguagePrefix }} {{ $folder = "content.zh" }} {{ end }} Edit This Page {{ end }}