{{ if .Get 1 }} {{ $prj_file := .Get 1 }} {{ if os.FileExists "Tests" }} {{ $filePath := print "Tests/Data/" $prj_file }} {{ if os.FileExists $filePath }} {{ else }} {{ errorf "%q: Project file does not exist: %q" $.Page.File.Path . }} {{ end }} {{ end }} {{ $prj_file }} {{ else }} {{ end }}