Added usage of num_posts to default snippet template.