{{define "scripts"}} {{ if or (eq .PortalRoot "") (eq .PortalRoot "/") }} {{ else }} {{ end }} {{ end }}