base template layout for results