templates for rendering snippets