package templatefuncs
// Location returns a string with both the location and the
// location type if the location type is not empty.
func Location(location, locationType string) string {
if locationType != "" {
return location + " (" + locationType + ")"
}
return location