Mobile-first HTML template engine