Always add $base_uri to templates