[IMP] Templating some html snippets