Added custom helper for conditional title display