Frontend templating

Lots of edits here.
I'm new. I don't know any other way XD