search templating